Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boutetnico/ansible-role-dnsmasq
Install and configure dnsmasq using Ansible.
https://github.com/boutetnico/ansible-role-dnsmasq
ansible debian dns dnsmasq ubuntu
Last synced: about 6 hours ago
JSON representation
Install and configure dnsmasq using Ansible.
- Host: GitHub
- URL: https://github.com/boutetnico/ansible-role-dnsmasq
- Owner: boutetnico
- License: mit
- Created: 2022-02-11T15:07:11.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T07:11:51.000Z (3 months ago)
- Last Synced: 2024-08-02T08:42:42.303Z (3 months ago)
- Topics: ansible, debian, dns, dnsmasq, ubuntu
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![tests](https://github.com/boutetnico/ansible-role-dnsmasq/workflows/Test%20ansible%20role/badge.svg)](https://github.com/boutetnico/ansible-role-dnsmasq/actions?query=workflow%3A%22Test+ansible+role%22)
[![Ansible Galaxy](https://img.shields.io/badge/galaxy-boutetnico.dnsmasq-blue.svg)](https://galaxy.ansible.com/boutetnico/dnsmasq)ansible-role-dnsmasq
====================This role installs and configures dnsmasq.
Requirements
------------Ansible 2.10 or newer.
Supported Platforms
-------------------- [Debian - 11 (Bullseye)](https://wiki.debian.org/DebianBullseye)
- [Debian - 12 (Bookworm)](https://wiki.debian.org/DebianBookworm)
- [Ubuntu - 22.04 (Jammy Jellyfish)](http://releases.ubuntu.com/22.04/)
- [Ubuntu - 24.04 (Noble Numbat)](http://releases.ubuntu.com/24.04/)Role Variables
--------------| Variable | Required | Default | Choices | Comments |
|----------------------|----------|---------------------|-----------|------------------------------------------|
| dnsmasq_dependencies | true | `dnsmasq` | string | |
| dnsmasq_conf | true | `{}` | dict | |Dependencies
------------None
Example Playbook
----------------- hosts: all
roles:
- role: ansible-role-dnsmasq
dnsmasq_conf:
main:
- listen-address=127.0.0.1
- bind-interfaces
cache:
- no-resolv
- server=8.8.8.8
- server=8.8.4.4
- cache-size=500
- neg-ttl=60
- domain-needed
- bogus-privTesting
-------molecule test
License
-------MIT
Author Information
------------------[@boutetnico](https://github.com/boutetnico)