Debian Codegraph @

test/integration/targets/ansible-galaxy-collection/tasks/supported_resolvelib.yml

raw symbols SCIP
1 - vars:
2 venv_cmd: "{{ ansible_python_interpreter ~ ' -m venv' }}"
3 venv_dest: "{{ galaxy_dir }}/test_venv_{{ resolvelib_version }}"
4 test_name: galaxy_ng
5 block:
6 - name: install another version of resolvelib that is supported by ansible-galaxy
7 pip:
8 name: resolvelib
9 version: "{{ resolvelib_version }}"
10 state: present
11 virtualenv_command: "{{ venv_cmd }}"
12 virtualenv: "{{ venv_dest }}"
13 virtualenv_site_packages: True
14
15 - include_tasks: fail_fast_resolvelib.yml
16 args:
17 apply:
18 environment:
19 PATH: "{{ venv_dest }}/bin:{{ ansible_env.PATH }}"
20 ANSIBLE_CONFIG: '{{ galaxy_dir }}/ansible.cfg'
21
22 - include_tasks: install.yml
23 vars:
24 test_id: '{{ test_name }} (resolvelib {{ resolvelib_version }})'
25 test_server: '{{ galaxy_ng_server }}'
26 test_api_server: '{{ galaxy_ng_server }}'
27 requires_auth: true
28 args:
29 apply:
30 environment:
31 PATH: "{{ venv_dest }}/bin:{{ ansible_env.PATH }}"
32 ANSIBLE_CONFIG: '{{ galaxy_dir }}/ansible.cfg'
33
34 - include_tasks: download.yml
35 args:
36 apply:
37 environment:
38 PATH: "{{ venv_dest }}/bin:{{ ansible_env.PATH }}"
39 ANSIBLE_CONFIG: '{{ galaxy_dir }}/ansible.cfg'
40 always:
41 - name: remove test venv
42 file:
43 path: "{{ venv_dest }}"
44 state: absent