Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samdoran/ansible-role-dns


https://github.com/samdoran/ansible-role-dns

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

DNS
===

Setup DNS.

Role Variables
--------------

List DNS servers to be inserted into template:

dns_servers:
- 8.8.8.8
- 208.67.222.222
- 208.67.220.220
...

List search domains to be inserted into the template. If empty or undefined, no search domains are added.

dns_search_domains:
- "com"
- "org"
- "acme.com"
...

Example Playbook
----------------

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
roles:
- { role: sdoran.dns, dns_servers:['10.0.1.7', '192.168.7.3'] }

License
-------

MIT