Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/external_usergroup.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/location.yml
10 vars:
11 location_state: "present"
12 - include_tasks: tasks/organization.yml
13 vars:
14 organization_state: "present"
15 - include_tasks: tasks/usergroup.yml
16 vars:
17 usergroup_name: "internal_group"
18 usergroup_state: present
19 - include_tasks: tasks/auth_source_ldap.yml
20 vars:
21 auth_source_ldap_state: present
22 auth_source_ldap_tls: false
23 auth_source_ldap_account_password: "{{ default_auth_source_ldap_account_password }}"
24 - include_tasks: tasks/external_usergroup.yml
25 vars:
26 external_usergroup_state: absent
27 auth_source_ldap: "Example LDAP"
28 usergroup: "internal_group"
29
30 - hosts: tests
31 collections:
32 - theforeman.foreman
33 gather_facts: false
34 vars_files:
35 - vars/server.yml
36 tasks:
37 - include_tasks: tasks/external_usergroup.yml
38 vars:
39 external_usergroup_state: present
40 auth_source_ldap: "Example LDAP"
41 usergroup: "internal_group"
42 expected_change: true
43 - include_tasks: tasks/external_usergroup.yml
44 vars:
45 external_usergroup_state: present
46 auth_source_ldap: "Example LDAP"
47 usergroup: "internal_group"
48 expected_change: false
49 - include_tasks: tasks/external_usergroup.yml
50 vars:
51 external_usergroup_state: absent
52 auth_source_ldap: "Example LDAP"
53 usergroup: "internal_group"
54 expected_change: true
55 - include_tasks: tasks/external_usergroup.yml
56 vars:
57 external_usergroup_state: absent
58 auth_source_ldap: "Example LDAP"
59 usergroup: "internal_group"
60 expected_change: false
61
62 - hosts: localhost
63 collections:
64 - theforeman.foreman
65 tags:
66 - teardown
67 gather_facts: false
68 vars_files:
69 - vars/server.yml
70 tasks:
71 - include_tasks: tasks/usergroup.yml
72 vars:
73 usergroup_name: "internal_group"
74 usergroup_state: "absent"
75 - include_tasks: tasks/auth_source_ldap.yml
76 vars:
77 auth_source_ldap_state: absent
78 - include_tasks: tasks/location.yml
79 vars:
80 location_state: "absent"
81 - include_tasks: tasks/organization.yml
82 vars:
83 organization_state: "absent"