From 677d570c7266e3a028954fa14ee4d93e42e74eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Sanchez?= Date: Wed, 12 Apr 2023 21:47:56 +0200 Subject: [PATCH] fix(configure): add become true to task --- tasks/configure.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/configure.yml b/tasks/configure.yml index 064d9cf..b1bc47d 100644 --- a/tasks/configure.yml +++ b/tasks/configure.yml @@ -1,5 +1,6 @@ --- - name: Configure pi-hole FTL + become: true ansible.builtin.template: src: etc/pihole/pihole-FTL.conf.j2 dest: /etc/pihole/pihole-FTL.conf @@ -11,6 +12,7 @@ - configure - name: Configure pi-hole local DNS records + become: true ansible.builtin.template: src: etc/pihole/custom.list.j2 dest: /etc/pihole/custom.list