From 0f6a60e66180eb6660208e45e6fe40fe37bb38c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Sanchez?= Date: Wed, 12 Apr 2023 21:47:42 +0200 Subject: [PATCH] fix(install): add become true to task --- tasks/install.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/install.yml b/tasks/install.yml index e48bd12..d9687d4 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -9,6 +9,7 @@ - check - name: Create pihole config directory + become: true ansible.builtin.file: name: /etc/pihole state: directory @@ -20,6 +21,7 @@ - prepare - name: Copy pihole setupVars + become: true ansible.builtin.template: src: etc/pihole/setupVars.conf.j2 dest: /etc/pihole/setupVars.conf @@ -31,6 +33,7 @@ - prepare - name: Clone pihole repository revision {{ pi_hole_version }} + become: true ansible.builtin.git: repo: "{{ pi_hole_repo }}" clone: true