Debian Codegraph @

test/integration/targets/ansible-galaxy-collection-scm/tasks/multi_collection_repo_individual.yml

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