Debian Codegraph @

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

raw
1 ---
2 - name: set the temp test directory
3 set_fact:
4 galaxy_dir: "{{ remote_tmp_dir }}/galaxy"
5
6 - name: Test installing collections from git repositories
7 environment:
8 ANSIBLE_COLLECTIONS_PATH: "{{ galaxy_dir }}/collections"
9 vars:
10 cleanup: True
11 galaxy_dir: "{{ galaxy_dir }}"
12 block:
13
14 - include_tasks: ./setup.yml
15 - include_tasks: ./requirements.yml
16 - include_tasks: ./individual_collection_repo.yml
17 - include_tasks: ./setup_multi_collection_repo.yml
18 - include_tasks: ./multi_collection_repo_all.yml
19 - include_tasks: ./scm_dependency.yml
20 vars:
21 cleanup: False
22 - include_tasks: ./reinstalling.yml
23 - include_tasks: ./multi_collection_repo_individual.yml
24 - include_tasks: ./setup_recursive_scm_dependency.yml
25 - include_tasks: ./scm_dependency_deduplication.yml
26 - include_tasks: ./test_supported_resolvelib_versions.yml
27 loop: "{{ supported_resolvelib_versions }}"
28 loop_control:
29 loop_var: resolvelib_version
30 - include_tasks: ./download.yml
31 - include_tasks: ./setup_collection_bad_version.yml
32 - include_tasks: ./test_invalid_version.yml
33 - include_tasks: ./test_manifest_metadata.yml
34
35 always:
36
37 - name: Remove the directories for installing collections and git repositories
38 file:
39 path: '{{ item }}'
40 state: absent
41 loop:
42 - "{{ install_path }}"
43 - "{{ alt_install_path }}"
44 - "{{ scm_path }}"
45
46 - name: remove git
47 package:
48 name: git
49 state: absent
50 when: git_install is changed