Skip to content

only install ansible-core and use python 3.x (#233) #25

only install ansible-core and use python 3.x (#233)

only install ansible-core and use python 3.x (#233) #25

Workflow file for this run

---
name: Galaxy Publish
on:
push:
tags:
- '*'
defaults:
run:
working-directory: 'osc.open_ondemand'
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
with:
path: 'osc.open_ondemand'
- name: Set up Python 3.
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Ansible.
run: pip3 install ansible-core
- name: Trigger a new import on Galaxy.
run: ansible-galaxy role import --api-key ${{ secrets.OSC_ROBOT_GALAXY_TOKEN }} OSC ood-ansible