Debian Codegraph @

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

raw
1 - name: Clone a git repository
2 git:
3 repo: https://github.com/ansible-collections/amazon.aws.git
4 dest: '{{ scm_path }}/amazon.aws/'
5
6 - name: install
7 command: 'ansible-galaxy collection install git+file://{{ scm_path }}/amazon.aws/.git --no-deps'
8
9 - name: list installed collections
10 command: 'ansible-galaxy collection list'
11 register: installed_collections
12
13 - assert:
14 that:
15 - "'amazon.aws' in installed_collections.stdout"
16
17 - include_tasks: ./empty_installed_collections.yml
18 when: cleanup