Merge branch 'bluikko-changed_when-galaxy' into main

This commit is contained in:
nazunalika 2020-12-13 19:54:13 -07:00
commit 4c60c7c383

View File

@ -31,7 +31,8 @@
{{ ( force_purge | bool ) | ternary('--force','') }} {{ ( force_purge | bool ) | ternary('--force','') }}
--role-file {{ installation_prefix }}roles/requirements.yml --role-file {{ installation_prefix }}roles/requirements.yml
--roles-path {{ installation_prefix }}{{ roles_installation_dir }} --roles-path {{ installation_prefix }}{{ roles_installation_dir }}
changed_when: false register: galaxy_install_role
changed_when: '"Installing " in galaxy_install_role.stdout'
- name: Install needed collections - name: Install needed collections
command: > command: >
@ -39,7 +40,8 @@
{{ ( force_purge | bool ) | ternary('--force-with-deps','') }} {{ ( force_purge | bool ) | ternary('--force-with-deps','') }}
-r {{ installation_prefix }}roles/requirements.yml -r {{ installation_prefix }}roles/requirements.yml
-p {{ installation_prefix }}{{ collection_installation_dir }} -p {{ installation_prefix }}{{ collection_installation_dir }}
changed_when: false register: galaxy_install_collection
changed_when: '"Installing " in galaxy_install_collection.stdout'
- name: cleanup old ssh known_hosts - remove - name: cleanup old ssh known_hosts - remove
file: file: