fix: new examples in README
This commit is contained in:
parent
94035b835c
commit
9cfcbc9287
1 changed files with 36 additions and 19 deletions
25
README.md
25
README.md
|
@ -18,11 +18,22 @@ None
|
||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
```
|
* `host_vars/dns-master`
|
||||||
- hosts: dns-server
|
```
|
||||||
vars:
|
|
||||||
bind_role: master
|
bind_role: master
|
||||||
bind_zones:
|
```
|
||||||
|
|
||||||
|
* `host_vars/dns-slave`
|
||||||
|
```
|
||||||
|
bind_role: slave
|
||||||
|
```
|
||||||
|
|
||||||
|
* `group_vars/dns-server`
|
||||||
|
```
|
||||||
|
bind_listen_ipv6: true
|
||||||
|
bind_listen_ipv4: true
|
||||||
|
|
||||||
|
bind_zones:
|
||||||
test.local:
|
test.local:
|
||||||
ns_primary: ns1.test.local
|
ns_primary: ns1.test.local
|
||||||
mail: root@test.local
|
mail: root@test.local
|
||||||
|
@ -39,6 +50,12 @@ None
|
||||||
entries:
|
entries:
|
||||||
- { name: '@', type: ns, value: localhost. }
|
- { name: '@', type: ns, value: localhost. }
|
||||||
- { name: hello, type: a, value: 4.3.2.1 }
|
- { name: hello, type: a, value: 4.3.2.1 }
|
||||||
|
```
|
||||||
|
|
||||||
|
* playbook
|
||||||
|
|
||||||
|
```
|
||||||
|
- hosts: dns-server
|
||||||
roles:
|
roles:
|
||||||
- bind
|
- bind
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue