path: $XDG_STATE_HOME/psql
state: directory
- name: vim config file
- register: vim_result
copy:
src: vimrc
dest: $XDG_CONFIG_HOME/vim/vimrc
-- name: run PlugInstall
- shell: vim -c PlugInstall -c qa
- when: vim_result.changed
+ notify:
+ - run PlugInstall
- name: tmux config file
template:
src: tmux.conf.j2
dest: $XDG_CONFIG_HOME/systemd/user/
notify:
- reload systemd
+- name: Link password store
+ file:
+ path: "$XDG_DATA_HOME/pass"
+ src: "$XDG_CONFIG_HOME/ansible/password_store"
+ state: link