init
This commit is contained in:
commit
883f31932e
169 changed files with 5676 additions and 0 deletions
20
ansible/roles/dnsmasq/tasks/main.yml
Normal file
20
ansible/roles/dnsmasq/tasks/main.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
-
|
||||
name: Install dnsmasq
|
||||
apt:
|
||||
name: dnsmasq
|
||||
state: present
|
||||
|
||||
-
|
||||
name: Deploy dnsmasq configuration
|
||||
template:
|
||||
src: dnsmasq.conf.j2
|
||||
dest: /etc/dnsmasq.d/local.conf
|
||||
notify: restart dnsmasq
|
||||
|
||||
-
|
||||
name: Ensure dnsmasq is running
|
||||
service:
|
||||
name: dnsmasq
|
||||
state: started
|
||||
enabled: yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue