summaryrefslogtreecommitdiff
path: root/roles/init/tasks
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 01:54:14 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-21 02:17:57 +0100
commit39749dd76fb02744f26c68054a9955cbe3e26849 (patch)
treee235402070f5fa99735732a0defb33be104023b6 /roles/init/tasks
parentdf352b462703d68c9cfd2fa5ad85514ce0bd71fa (diff)
downloadAnsible-39749dd76fb02744f26c68054a9955cbe3e26849.tar.gz
Ansible-39749dd76fb02744f26c68054a9955cbe3e26849.tar.zst
Ansible-39749dd76fb02744f26c68054a9955cbe3e26849.zip
Add a tag to prevent gpg-related actions during the home bootstrap
Diffstat (limited to 'roles/init/tasks')
-rw-r--r--roles/init/tasks/main.yml2
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