Skip to content

Ansible role to configure dns client to use a specific dns server

License

Notifications You must be signed in to change notification settings

New-Edge-Engineering/ansible-networking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Networking Role

Ansible role to configure the dns resolution to use a specific dns server.

Requirements

No requirements.

Dependencies

No dependencies.

Role Variables

This role contains only two variables:

  • networking_domain_name_server - The IP Address of the domain name server.
  • networking_interface - Redhat family network interface override, default eth0.

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: all
  roles:
      - role: neel.networking
        networking_domain_name_server: 192.168.1.1

See the molecule tests for more.

License

Licensed under the MIT License. See the LICENSE file for details.

Contributing

Feedback, bug-reports, requests, is welcomed and can be done via github issues.

Developement Setup

python3 -m venv .ve
source .ve/bin/activate
pip install molecule molecule-vagrant ansible-lint
molecule test --all

About

Ansible role to configure dns client to use a specific dns server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages