Skip to content

Commit 49c0a4a

Browse files
committed
attempted fix for mac
1 parent 1cc5135 commit 49c0a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/lamachine-core/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@
274274
content: |
275275
Defaults env_keep += "PYTHONPATH"
276276
Defaults secure_path = {{global_prefix}}/bin:{{global_prefix}}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
277-
when: root and locality == "global"
277+
when: locality == "global" and root
278278

279279
- name: Enable activation script globally
280280
become: "{{lm_become}}"

0 commit comments

Comments
 (0)