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.
ansible/test/integration/targets/ansible-galaxy-collection-scm/tasks/multi_collection_repo_indiv...

16 lines
542 B
YAML

- 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