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.
1 parent 48d7473 commit 1670289Copy full SHA for 1670289
tower_collection_smoke.yml
@@ -4,6 +4,16 @@
4
vars:
5
collection_id: awx.awx
6
tasks:
7
+ - name: "List what collections are installed (only available with ansible 2.10+)"
8
+ shell: "ansible-galaxy collection list"
9
+ register: ansible_collections_list
10
+ when: ansible_version.full is version('2.10.0', '>=')
11
+
12
+ - name: "Echo what collections are installed (only available with ansible 2.10+)"
13
+ debug:
14
+ msg: "{{ ansible_collections_list.stdout_lines }}"
15
16
17
- name: "Create playbook to call with collection FQCN"
18
template:
19
src: tower_collection_smoke.j2
0 commit comments