blob: a5a2bdfc9d6e7956856889455ffe0459e2490290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
- name: test installing one collection
command: 'ansible-galaxy collection install git+file://{{ test_repo_path }}/.git#collection_2'
- name: list installed collections
command: 'ansible-galaxy collection list'
register: installed_collections
- assert:
that:
- "'amazon.aws' not in installed_collections.stdout"
- "'ansible_test.collection_1' not in installed_collections.stdout"
- "'ansible_test.collection_2' in installed_collections.stdout"
- include_tasks: ./empty_installed_collections.yml
when: cleanup
|