Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/compute_profile_ovirt.yml

raw symbols SCIP
1 ---
2 - hosts: localhost
3 collections:
4 - theforeman.foreman
5 gather_facts: false
6 vars_files:
7 - vars/server.yml
8 - vars/compute_profile.yml
9 tasks:
10 - include_tasks: tasks/organization.yml
11 vars:
12 organization_state: present
13 - include_tasks: tasks/location.yml
14 vars:
15 location_state: present
16 - include_tasks: tasks/compute_resource.yml
17 vars:
18 compute_resource_name: "{{ ovirt.compute_resource.name }}"
19 compute_resource_organizations: "{{ ovirt.compute_resource.organizations }}"
20 compute_resource_locations: "{{ ovirt.compute_resource.locations }}"
21 compute_resource_provider: 'ovirt'
22 compute_resource_provider_params: "{{ ovirt.compute_resource.params }}"
23 compute_resource_state: present_with_defaults
24 - include_tasks: tasks/compute_profile.yml
25 vars:
26 compute_profile_state: absent
27
28 - hosts: tests
29 collections:
30 - theforeman.foreman
31 gather_facts: false
32 vars_files:
33 - vars/server.yml
34 - vars/compute_profile.yml
35 tasks:
36 - include_tasks: tasks/compute_profile.yml
37 vars:
38 compute_profile_state: present
39 compute_profile_attributes:
40 - compute_resource: "{{ ovirt.compute_resource.name }}"
41 vm_attrs: "{{ ovirt.compute_profile.attrs }}"
42 expected_change: true
43 - include_tasks: tasks/compute_profile.yml
44 vars:
45 compute_profile_state: present
46 compute_profile_attributes:
47 - compute_resource: "{{ ovirt.compute_resource.name }}"
48 vm_attrs: "{{ ovirt.compute_profile.attrs }}"
49 expected_change: false
50 - include_tasks: tasks/compute_profile.yml
51 vars:
52 compute_profile_state: absent
53 expected_change: true
54 - include_tasks: tasks/compute_profile.yml
55 vars:
56 compute_profile_state: absent
57 expected_change: false
58
59 - hosts: localhost
60 collections:
61 - theforeman.foreman
62 gather_facts: false
63 vars_files:
64 - vars/server.yml
65 - vars/compute_profile.yml
66 tasks:
67 - include_tasks: tasks/compute_resource.yml
68 vars:
69 compute_resource_name: "{{ ovirt.compute_resource.name }}"
70 compute_resource_state: absent
71 - include_tasks: tasks/location.yml
72 vars:
73 location_state: absent
74 - include_tasks: tasks/organization.yml
75 vars:
76 organization_state: absent
77 ...