Debian Codegraph @

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

raw symbols SCIP
1 theforeman.foreman.domains
2 ==========================
3
4 This role creates and manages Domains.
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_domains`. Each `domain` requires the following fields:
12
13 - `name`: The name of the domain.
14
15 The following fields are optional and will be omitted by default:
16
17 - `description`: Description of the domain.
18 - `dns_proxy`: DNS proxy to use within this domain for managing A records.
19 - `parameters`: Domain specific host parameters.
20
21 Example Playbook
22 ----------------
23
24 Create a domain `example.org`.
25
26 ```yaml
27 - hosts: localhost
28 roles:
29 - role: theforeman.foreman.domains
30 vars:
31 foreman_server_url: https://foreman.example.com
32 foreman_username: "admin"
33 foreman_password: "changeme"
34 foreman_domains:
35 - name: "example.org"
36 description: "Example Domain"
37 locations:
38 - "Uppsala"
39 organizations:
40 - "ACME"
41 ```