+++ /dev/null
-[submodule "password_store"]
- path = password_store
- url = gitolite@git.immae.eu:perso/Immae/Prive/Password_store
+++ /dev/null
-Subproject commit 7a3d737bfef73cbbfe43ab5541233fca68b7443b
state: restarted
name: "{{ item }}.socket"
loop: "{{ results.results|selectattr('changed')|map(attribute='item')|list }}"
-- name: clone password store
- register: clone_password_store
- shell: "cd $(dirname $ANSIBLE_CONFIG ); git submodule update --init password_store"
- changed_when: clone_password_store is defined and "stdout" in clone_password_store and clone_password_store.stdout != ""
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: