19 lines
398 B
YAML
19 lines
398 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_hosts }}"
|
|
loop_control:
|
|
loop_var: dnsserver
|
|
delegate_to: "{{ dnsserver }}"
|