Content-Length: 285488 | pFad | http://github.com/blackstar257/ansible-resolv

36 GitHub - blackstar257/ansible-resolv: Ansible Role - Resolv
Skip to content

blackstar257/ansible-resolv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: resolv

Ansible Role Build Status

Configures /etc/resolv.conf

Requirements

This role requires Ansible 1.9 or higher.

Role Variables

Name Default Description
resolv_conf_nameservers ["1.1.1.1", "1.0.0.1"] List of nameserver IP addresses
resolv_conf_search_domains ["{{ ansible_domain }}"] List of search domains
resolv_conf_options ["rotate"] List of search domains

Dependencies

None

Example Playbook

Configure /etc/resolv.conf file with default values

- hosts: all
  roles:
    - blackstar257.resolv

Configure /etc/resolv.conf file specifying nameservers and a search domain

- hosts: all
  vars:
    resolv_conf_nameservers:
      - 8.8.4.4
      - 8.8.8.8
    resolv_conf_search_domains:
      - google.com
  roles:
    - blackstar257.resolv

License

BSD

Author Information

Kevin Brebanov Forked by Blackstar









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/blackstar257/ansible-resolv

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy