Skip to content

Commit

Permalink
fix(install): add become true to task
Browse files Browse the repository at this point in the history
  • Loading branch information
chubchubsancho committed Apr 12, 2023
1 parent 64896ad commit 0f6a60e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- check

- name: Create pihole config directory
become: true
ansible.builtin.file:
name: /etc/pihole
state: directory
Expand All @@ -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
Expand All @@ -31,6 +33,7 @@
- prepare

- name: Clone pihole repository revision {{ pi_hole_version }}
become: true
ansible.builtin.git:
repo: "{{ pi_hole_repo }}"
clone: true
Expand Down

0 comments on commit 0f6a60e

Please sign in to comment.