Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (18 loc) · 499 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 499 Bytes

ansible-role-dns

@jdauphant : I don't have time to manage anymore this role. Don't hesitate to fork and made your own version.

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']