Debian Codegraph @

ansible_collections/theforeman/foreman/roles/settings/README.md

raw symbols SCIP
1 theforeman.foreman.settings
2 ===========================
3
4 This role creates and manages Settings.
5
6 Role Variables
7 --------------
8
9 This role supports the [Common Role Variables](https://github.com/theforeman/foreman-ansible-modules/blob/develop/README.md#common-role-variables).
10
11 The main data structure for this role is the list of `foreman_settings`. Each `setting` must contain the field `name` and may contain the optional field `value` which if empty will reset the setting to the default value.
12
13 Example Playbook
14 ----------------
15
16 Enable *Destroy associated VM on host delete* and disable *Clean up failed deployment*:
17
18 ```yaml
19 - hosts: localhost
20 roles:
21 - role: theforeman.foreman.settings
22 vars:
23 foreman_server_url: https://foreman.example.com
24 foreman_username: "admin"
25 foreman_password: "changeme"
26 foreman_settings:
27 - name: destroy_vm_on_host_delete
28 value: true
29 - name: clean_up_failed_deployment
30 value: false
31 ```