Debian Codegraph @

ansible_collections/theforeman/foreman/tests/test_playbooks/organizations_role.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 - name: drop existing test orgs
10 include_tasks: tasks/organization.yml
11 vars:
12 organization_name: "{{ item }}"
13 organization_state: "absent"
14 loop:
15 - "Test Organization One"
16 - "Test Organization Two"
17
18 - hosts: tests
19 collections:
20 - theforeman.foreman
21 gather_facts: false
22 vars_files:
23 - vars/server.yml
24 roles:
25 - role: organizations
26 vars:
27 foreman_organizations:
28 - name: "Test Organization One"
29 - name: "Test Organization Two"
30 description: "Two Two Two"
31
32 - hosts: localhost
33 collections:
34 - theforeman.foreman
35 gather_facts: false
36 vars_files:
37 - vars/server.yml
38 tasks:
39 - name: drop existing test orgs
40 include_tasks: tasks/organization.yml
41 vars:
42 organization_name: "{{ item }}"
43 organization_state: "absent"
44 loop:
45 - "Test Organization One"
46 - "Test Organization Two"