24 lines
472 B
YAML

---
# handlers file for dnsmasq
- name: Apply installation
ansible.builtin.command:
argv:
- /usr/bin/rpm-ostree
- apply-live
become: true
- name: Reload dnsmasq.service
become: true
ansible.builtin.systemd:
state: reloaded
name: dnsmasq.service
- name: Reload dnsmasq.service on dns servers
become: true
ansible.builtin.systemd:
state: reloaded
name: dnsmasq.service
loop: "{{ dnsmasq_hosts }}"
delegate_to: "{{ item }}"