]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/tools/tasks/main.yml
Move password store to its place
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
index 748bd77d181812437560b63e1791c8d5a97a2242..745a08fbe5257698179cf1e24ff202719315f873 100644 (file)
@@ -9,14 +9,16 @@
   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/systemd/user/
   notify:
     - reload systemd
-- name: Link password store
-  file:
-    path: "$XDG_DATA_HOME/pass"
-    src: "$XDG_CONFIG_HOME/ansible/password_store"
-    state: link
+- 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: