Skip to content

Commit

Permalink
fix(extra_packages): avoid package installation under sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexNabokikh committed Jun 13, 2023
1 parent 3ec07a7 commit d6588fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tasks/extra_packages.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
- name: Install global NPM packages.
become: true
community.general.npm:
name: "{{ item.name | default(item) }}"
state: "{{ item.state | default('present') }}"
Expand All @@ -13,7 +12,6 @@
when: npm_packages is defined

- name: Install global Pip packages.
become: true
ansible.builtin.pip:
name: "{{ item.name | default(item) }}"
state: "{{ item.state | default('present') }}"
Expand Down

0 comments on commit d6588fa

Please sign in to comment.