Skip to content

Commit

Permalink
Use become instead of sudo
Browse files Browse the repository at this point in the history
This is the recommended way of doing things in Ansible.
  • Loading branch information
rajadain committed Jul 3, 2024
1 parent b76a565 commit a2d7a4e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
state: present

- name: Install Windshaft JavaScript dependencies
command: sudo npm install --unsafe-perm
command: npm install --unsafe-perm
args:
chdir: "{{ tiler_home }}"
become: False
become: True

0 comments on commit a2d7a4e

Please sign in to comment.