This roles enables users to configure the /etc/resolv.conf. It will write also ansible facts file into /etc/ansible/facts.d/resolv.fact
- ansible: 1.4
See man resolv.conf
for more informations.
resolv_file
: points to /etc/resolv.conf. Do not change until you know what are you doing.resolv_domain
: domain in /etc/resolv.conf, default is nullresolv_search
: search in /etc/resolv.conf, default is empty listresolv_nameserver
: nameserver in /etc/resolv.conf, default is Google Public DNS serviceresolv_sortlist
: sortlist in /etc/resolv.conf, default is empty listresolv_options
: options in /etc/resolv.conf, default is [rotate]
None
- hosts: all
roles:
- role: hudecof.resolv
BSD
Peter Hudec