mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
491 B
YAML
15 lines
491 B
YAML
5 years ago
|
- name: Install all collections by default
|
||
|
command: 'ansible-galaxy collection install git+file://{{ galaxy_dir }}/development/ansible_test/.git'
|
||
|
|
||
|
- name: list installed collections
|
||
|
command: 'ansible-galaxy collection list'
|
||
|
register: installed_collections
|
||
|
|
||
|
- assert:
|
||
|
that:
|
||
|
- "'ansible_test.collection_1' in installed_collections.stdout"
|
||
|
- "'ansible_test.collection_2' in installed_collections.stdout"
|
||
|
|
||
|
- include_tasks: ./empty_installed_collections.yml
|
||
|
when: cleanup
|