]> git.immae.eu Git - perso/Immae/Config/Ansible.git/commitdiff
Move password store to its place
authorIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 07:09:49 +0000 (08:09 +0100)
committerIsmaël Bouya <ismael.bouya@fretlink.com>
Sat, 10 Nov 2018 07:09:49 +0000 (08:09 +0100)
.gitmodules [deleted file]
password_store [deleted submodule]
roles/gnupg/tasks/main.yml
roles/tools/tasks/main.yml

diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644 (file)
index 8a151f4..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule "password_store"]
-       path = password_store
-       url = gitolite@git.immae.eu:perso/Immae/Prive/Password_store
diff --git a/password_store b/password_store
deleted file mode 160000 (submodule)
index 7a3d737..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 7a3d737bfef73cbbfe43ab5541233fca68b7443b
index a2b9aa6bd13553e5b3e9beaf40d2792bb2f6505d..2bd1c79ad7e0cfd8ded167909214c8acc4f33bc9 100644 (file)
@@ -93,7 +93,3 @@
         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 != ""
index 56298cbed129f2acb60174245e333c9f1458c6b8..745a08fbe5257698179cf1e24ff202719315f873 100644 (file)
     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: