renamed pip install task to avoid confusion with apt install task, 1st publish

This commit is contained in:
Bertrand Lanson 2023-03-16 23:36:23 +01:00
parent 2e1cc0a7da
commit 5269f17583
2 changed files with 19 additions and 1 deletions

18
.github/workflows/publish.yml vendored Normal file
View File

@ -0,0 +1,18 @@
---
name: publish
on:
push:
branches:
- main
jobs:
publish:
name: Publish to galaxy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish
uses: ednxzu/galaxy-import-role@v1
with:
galaxy-api-key: ${{ secrets.GALAXY_API_TOKEN }}

View File

@ -4,7 +4,7 @@
ansible.builtin.include_tasks: prerequisites.yml
when: manage_pip_packages_install_prereqs
- name: "Install/remove required packages"
- name: "Install/remove required pip packages"
ansible.builtin.pip:
name: "{{ item.name }}{% if item.version_constraint not in [None, '', 'latest'] %}{{ item.version_constraint }}{% endif %}"
state: "{{ item.state }}"