We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4b5995d + 1670289 commit d357156Copy full SHA for d357156
tower_collection_smoke.yml
@@ -6,6 +6,16 @@
6
src_file: tower_collection_smoke.j2
7
dest_file: tower_collection_actual.yml
8
tasks:
9
+ - name: "List what collections are installed (only available with ansible 2.10+)"
10
+ shell: "ansible-galaxy collection list"
11
+ register: ansible_collections_list
12
+ when: ansible_version.full is version('2.10.0', '>=')
13
+
14
+ - name: "Echo what collections are installed (only available with ansible 2.10+)"
15
+ debug:
16
+ msg: "{{ ansible_collections_list.stdout_lines }}"
17
18
19
- name: "Create playbook to call with collection FQCN"
20
template:
21
src: "{{ src_file }}"
0 commit comments