Debian Codegraph @

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

raw symbols SCIP
1 # To run this playbook, you need to prepare a foreman-proxy with the realm feature.
2 # Use e.g. the centos7-freeipa-server in forklift. Due to limitations in Vagrant you
3 # might need to run its provisioning playbook by hand.
4 ---
5 - hosts: localhost
6 collections:
7 - theforeman.foreman
8 gather_facts: false
9 vars_files:
10 - vars/server.yml
11 tasks:
12 - include_tasks: tasks/realm.yml
13 vars:
14 realm_state: absent
15 - hosts: tests
16 collections:
17 - theforeman.foreman
18 gather_facts: false
19 vars_files:
20 - vars/server.yml
21 tasks:
22 - include_tasks: tasks/realm.yml
23 vars:
24 realm_state: present
25 expected_change: true
26 - include_tasks: tasks/realm.yml
27 vars:
28 realm_state: present
29 expected_change: false
30 - include_tasks: tasks/realm.yml
31 vars:
32 realm_state: absent
33 expected_change: true
34 - include_tasks: tasks/realm.yml
35 vars:
36 realm_state: absent
37 expected_change: false