Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/host_collection.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 tasks:
9 - include_tasks: tasks/organization.yml
10 vars:
11 organization_state: present
12
13 - hosts: tests
14 collections:
15 - theforeman.foreman
16 gather_facts: false
17 vars_files:
18 - vars/server.yml
19 tasks:
20 - include_tasks: tasks/host_collection.yml
21 vars:
22 host_collection_state: present
23 expected_change: true
24 expected_diff: true
25 expected_diff_before: ""
26 expected_diff_after: "name.*TheAnswer"
27 - include_tasks: tasks/host_collection.yml
28 vars:
29 host_collection_state: present
30 expected_change: false
31 - include_tasks: tasks/host_collection.yml
32 vars:
33 host_collection_name: "mycollection"
34 host_collection_state: present
35 expected_change: true
36 expected_diff: true
37 expected_diff_before: ""
38 expected_diff_after: "name.*mycollection"
39 - include_tasks: tasks/host_collection.yml
40 vars:
41 host_collection_name: "mycollection"
42 host_collection_updated_name: "mycollection2"
43 host_collection_state: present
44 expected_change: true
45 expected_diff: true
46 expected_diff_before: "name.*mycollection"
47 expected_diff_after: "name.*mycollection2"
48 - include_tasks: tasks/host_collection.yml
49 vars:
50 host_collection_name: "mycollection2"
51 host_collection_state: present
52 expected_change: false
53 - include_tasks: tasks/host_collection.yml
54 vars:
55 host_collection_name: "mycollection2"
56 host_collection_state: present
57 expected_change: false
58 - include_tasks: tasks/host_collection.yml
59 vars:
60 host_collection_name: "mycollection2"
61 host_collection_state: absent
62 expected_change: true
63 - include_tasks: tasks/host_collection.yml
64 vars:
65 host_collection_state: absent
66 expected_change: true
67 - include_tasks: tasks/host_collection.yml
68 vars:
69 host_collection_state: absent
70 expected_change: false
71
72 - hosts: localhost
73 collections:
74 - theforeman.foreman
75 gather_facts: false
76 vars_files:
77 - vars/server.yml
78 tasks:
79 - include_tasks: tasks/organization.yml
80 vars:
81 organization_state: absent
82 ...