Also put the PATH in .xprofile and .xsessionrc so that lightdm, i3, and dmenu all get the values.
This commit is contained in:
@@ -1194,9 +1194,9 @@
|
|||||||
{{ function_loop }}
|
{{ function_loop }}
|
||||||
{{ process_notify_log }}
|
{{ process_notify_log }}
|
||||||
|
|
||||||
- name: General | Account Management | Users | Files | .profile
|
- name: General | Account Management | Users | Files | .profile + .xsessionrc
|
||||||
blockinfile:
|
blockinfile:
|
||||||
path: "{{ item }}/.profile"
|
path: "{{ user_root.home }}/{{ item }}"
|
||||||
block: |
|
block: |
|
||||||
{{ rc_profile }}
|
{{ rc_profile }}
|
||||||
|
|
||||||
@@ -1207,10 +1207,11 @@
|
|||||||
create: yes
|
create: yes
|
||||||
backup: no
|
backup: no
|
||||||
loop:
|
loop:
|
||||||
- "{{ user_root.home }}"
|
- ".profile"
|
||||||
- "{{ user_user.home }}"
|
- ".xprofile"
|
||||||
|
- ".xsessionrc"
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: user_root.home != "" and user_user.home != ""
|
when: user_user.home != ""
|
||||||
|
|
||||||
- name: General | Account Management | Users | Files | .bashrc
|
- name: General | Account Management | Users | Files | .bashrc
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
|||||||
Reference in New Issue
Block a user