X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=roles%2Ftools%2Ftasks%2Fmain.yml;h=1aef012e728dfdc2efd4e9d4491e0137355702a9;hb=86a3ca82c74c9109594b4d7c4a61f2d804b8ccc0;hp=94324fc87a2dca44cde4ab67dced97a5e91dd6dd;hpb=587b6dd6d2d3a63ad28455003c0c2c5f58afdecb;p=perso%2FImmae%2FConfig%2FAnsible.git diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index 94324fc..1aef012 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml @@ -1,10 +1,12 @@ --- - name: Import other tools include_role: - name: "{{ item }}" + name: "{{ tool_import_item }}" loop: - git - gnupg + loop_control: + loop_var: tool_import_item - name: Config dirs file: state: directory @@ -68,7 +70,19 @@ 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 git: dest: "$XDG_DATA_HOME/pass"