Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorznowak committed May 4, 2021
1 parent 06505aa commit e19e35a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/_symlink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
var: package_stats_1
changed_when: true

- name: Variation 1 of Symlink global packages into PATH for specific environments (like cron's) to be able to access them.
- name: Symlink global packages into PATH for specific environments (like cron's) to be able to access them.
file: src="{{ nvm_dir }}/versions/node/v{{ nvm_node_version }}/bin/{{ item.name }}"
dest="/usr/bin/{{ item.name }}" state=link mode="u+rwx,g+rx,o+rx"
when: item.name is defined and package_stats_1.stat.exists
Expand All @@ -26,7 +26,7 @@
var: package_stats_2
changed_when: true

- name: Variation 2 of Symlink global packages into PATH for specific environments (like cron's) to be able to access them.
- name: Symlink global packages into PATH for specific environments (like cron's) to be able to access them.
file: src="{{ nvm_dir }}/versions/node/v{{ nvm_node_version }}/bin/{{ item }}"
dest="/usr/bin/{{ item }}" state=link mode="u+rwx,g+rx,o+rx"
when: item.name is not defined and package_stats_2.stat.exists
when: item.name is not defined and package_stats_2.stat.exists

0 comments on commit e19e35a

Please sign in to comment.