Skip to content
Ansible host for configure DNS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
meta
tasks
templates
.gitignore
.travis.yml
LICENSE
README.md
ansible.cfg
ansible_hosts
test.yml

README.md

ansible-role-dns

Ansible role for configure DNS

Examples :

- hosts: all
  roles:
  - role: ansible-role-dns
    dns_domain: localdomain
    dns_nameservers: ['127.0.0.1', '8.8.8.8']

- hosts: all
  roles:
  - role: ansible-role-dns
    dns_nameservers: ['8.8.8.8']  
    dns_searchs: "localdomain otherdomain"
    dns_options: ['timeout:3', 'attempts:5']

You can’t perform that action at this time.