@@ -53,5 +53,6 @@ sysfs_disk_settings: False
with_dotfiles: False
dotfiles_repo: 'http://forge.openics.org/server-dotfiles-zsh.git'
dotfiles_dest: '/srv/hosting-tools/shell'
+dotfiles_lcsshvars: 0
# vim: ft=yaml
@@ -3,5 +3,5 @@
when: with_dotfiles
- name: Enable sourcing of dotfiles
- lineinfile: dest=/etc/zsh/zshrc regexp='source {{ dotfiles_dest }}' line='[[ -f {{ dotfiles_dest }}/zsh/zshrc ]] && source {{ dotfiles_dest }}/zsh/zshrc'
+ lineinfile: dest=/etc/zsh/zshrc regexp='source {{ dotfiles_dest }}' line='[[ -f {{ dotfiles_dest }}/zsh/zshrc ]] && export LC_SSH_VARS={{ dotfiles_lcsshvars}} && source {{ dotfiles_dest }}/zsh/zshrc'