19 lines
400 B
YAML
19 lines
400 B
YAML
|
---
|
||
|
# handlers file for dnsmasq
|
||
|
|
||
|
- name: Recharger dnsmasq.service
|
||
|
become: true
|
||
|
ansible.builtin.systemd:
|
||
|
state: reloaded
|
||
|
name: dnsmasq.service
|
||
|
|
||
|
- name: Recharger dnsmasq.service sur les serveurs
|
||
|
become: true
|
||
|
ansible.builtin.systemd:
|
||
|
state: reloaded
|
||
|
name: dnsmasq.service
|
||
|
loop: "{{ dnsmasq_servers }}"
|
||
|
loop_control:
|
||
|
loop_var: dnsserver
|
||
|
delegate_to: "{{ dnsserver }}"
|