From c787b5c904f7327d33293e4a57cbe7205dab1f6a Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Mon, 6 May 2024 20:40:10 +0200 Subject: [PATCH] feat: Change configuration file name --- tasks/configuration.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 3f55b91..e88f504 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -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