inventoryFromAnsible #4

Merged
pulsar merged 10 commits from inventoryFromAnsible into master 2024-05-06 18:48:20 +00:00
Showing only changes of commit c787b5c904 - Show all commits

View File

@ -1,10 +1,16 @@
---
# tasks file for security
- name: Supprimer l'ancien fichier de configuration
ansible.builtin.file:
path: /etc/dnsmasq.d/cache.conf
state: absent
become: true
- name: Configurer dnsmasq
ansible.builtin.template:
src: dnsmasq.conf.j2
dest: /etc/dnsmasq.d/cache.conf
dest: /etc/dnsmasq.d/dns.conf
owner: root
group: root
mode: u=rw,g=r,o=r