Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/artcom/ansible-role-dnsmasq
Ansible role to set up dnsmasq to resolve a domain name and its sub-domains to the ansible_host
https://github.com/artcom/ansible-role-dnsmasq
Last synced: about 1 month ago
JSON representation
Ansible role to set up dnsmasq to resolve a domain name and its sub-domains to the ansible_host
- Host: GitHub
- URL: https://github.com/artcom/ansible-role-dnsmasq
- Owner: artcom
- License: mit
- Created: 2020-09-10T13:03:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-21T13:44:11.000Z (over 4 years ago)
- Last Synced: 2024-11-07T06:36:48.160Z (3 months ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DNSMASQ
Ansible role to set up dnsmasq to resolve a domain name and its sub-domains to the `ansible_host` IP.## Requirements
None.## Role Variables
Available variables are listed below, along with default values `(see defaults/main.yml)`:
```yaml
hostname: null
default_interface: null
```
Required variables (role will fail if the variables are not set):
```yaml
hostname: "string"
default_interface: "string"
```## Dependencies
* [check-required-variables](https://github.com/artcom/ansible-role-check-required-variables)# Example Playbook
```yaml
- name: set up dnsmasq
hosts: all
become: true
roles:
- role: dnsmasq
```## Test
### Requirements
- python >= 3.7
- vagrant### Run
```bash
pip install -r requirements.txt
molecule test
```## License
MIT