Skip to content

AECID Testbed Ansible Role that installs and configures dnsmasq

License

Notifications You must be signed in to change notification settings

ait-testbed/atb-ansible-dnsmasq

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible-Role: dnsmasq

Installs and configures dnsmasq. It saves all configs as seperate files in /etc/dnsmasq.d

Requirements

  • Debian or Ubuntu (18.04 or newer)

Role Variables

dnsmasq_config: []
dnsmasq_systemd_resolved_disable: false

Example Playbook

- hosts: localhost
  roles:
          - dnsmasq
  vars:
      dnsmasq_config:
              - { name: "noname",  content: "lala" }
              - { name: "dhcp"
                  prio: "15"
                  content:|
                   long content
                }

License

GPL-3.0

Author

  • Wolfgang Hotwagner
  • Benjamin Akhras