diff options
Diffstat (limited to 'roles/init/tasks')
-rw-r--r-- | roles/init/tasks/main.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/init/tasks/main.yml b/roles/init/tasks/main.yml index e60bb2a..c06a078 100644 --- a/roles/init/tasks/main.yml +++ b/roles/init/tasks/main.yml | |||
@@ -31,7 +31,7 @@ | |||
31 | when: pam_environment.changed | 31 | when: pam_environment.changed |
32 | - name: Add new lines in bashrc_temp | 32 | - name: Add new lines in bashrc_temp |
33 | lineinfile: | 33 | lineinfile: |
34 | line: "{{ ('export ' ~ item) if item != '' and item.0 != '#' else '' }}" | 34 | line: "{{ ('export ' ~ item) | regex_replace('@{HOME}', '${HOME}') if item != '' and item.0 != '#' else '' }}" |
35 | dest: $XDG_STATE_HOME/bash/bashrc_temp | 35 | dest: $XDG_STATE_HOME/bash/bashrc_temp |
36 | insertafter: EOF | 36 | insertafter: EOF |
37 | create: true | 37 | create: true |