copy:
src: mplayer
dest: $XDG_CONFIG_HOME/mplayer/config
-- name: psql config file
- copy:
- src: psqlrc
- dest: $XDG_CONFIG_HOME/psql/psqlrc
-- name: psql history directory
- file:
- path: $XDG_STATE_HOME/psql
- state: directory
+- name: postgresql
+ block:
+ - name: psql config file
+ copy:
+ src: psqlrc
+ dest: $XDG_CONFIG_HOME/psql/psqlrc
+ - name: psql history directory
+ file:
+ path: $XDG_STATE_HOME/psql
+ state: directory
- name: vim config file
copy:
src: vimrc
dest: $XDG_CONFIG_HOME/vim/vimrc
notify:
- run PlugInstall
+- meta: flush_handlers
- name: tmux config file
template:
src: tmux.conf.j2
src: youtube-viewer.conf.j2
dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
- name: remind config file
- synchronize:
- recursive: yes
- archive: no
- checksum: yes
- src: remind/commands/
- dest: /$XDG_CONFIG_HOME/remind/
+ copy:
+ src: "remind/commands/{{ item }}"
+ dest: "$XDG_CONFIG_HOME/remind/{{ item }}"
+ loop:
+ - work
- name: remind service file
copy:
src: remind/remind@.service
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
+- meta: flush_handlers
+- name: Clone password store
+ git:
+ dest: "$XDG_DATA_HOME/pass"
+ repo: gitolite@git.immae.eu:perso/Immae/Prive/Password_store
- name: dconf configuration
# check: `dconf dump /` or `dconf-editor`
dconf: