]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/tools/tasks/main.yml
Add a tag to prevent gpg-related actions during the home bootstrap
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
index e9eb88713ef7ffa6e926fcbdfc6ba8099a6a2ad9..82b575baf5adcc1463bc0b63f966eae25436fe64 100644 (file)
     dest: $XDG_CONFIG_HOME/systemd/user/
   notify:
     - reload systemd
+- name: monitor home service file
+  copy:
+    src: monitor_home.service
+    dest: "$XDG_CONFIG_HOME/systemd/user/"
+  notify:
+    - reload systemd
 - meta: flush_handlers
+- name: enable monitor home
+  systemd:
+    state: started
+    scope: user
+    name: monitor_home.service
+    enabled: true
 - name: Clone password store
+  tags: ["no_bootstrap"]
   git:
     dest: "$XDG_DATA_HOME/pass"
     repo: gitolite@git.immae.eu:perso/Immae/Prive/Password_store
   template:
     src: ssh_config.j2
     dest: $HOME/.ssh/config
+- name: bin dir
+  file:
+    state: directory
+    path: "$HOME/.local/bin"
+- name: add gio unwrapper
+  copy:
+    src: gio_unwrapper.sh
+    dest: $HOME/.local/bin/gio_unwrapper
+    mode: 0755