diff options
author | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-13 01:51:03 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@fretlink.com> | 2018-11-18 13:20:49 +0100 |
commit | 86a3ca82c74c9109594b4d7c4a61f2d804b8ccc0 (patch) | |
tree | ffe327d5e4b3fec3233c7877d074ec5513b9657f /roles/tools/tasks/main.yml | |
parent | e1c588d325f33930d7a98eec97ec41caf6f3d468 (diff) | |
download | Ansible-86a3ca82c74c9109594b4d7c4a61f2d804b8ccc0.tar.gz Ansible-86a3ca82c74c9109594b4d7c4a61f2d804b8ccc0.tar.zst Ansible-86a3ca82c74c9109594b4d7c4a61f2d804b8ccc0.zip |
Monitor home for new files
Diffstat (limited to 'roles/tools/tasks/main.yml')
-rw-r--r-- | roles/tools/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml index e9eb887..1aef012 100644 --- a/roles/tools/tasks/main.yml +++ b/roles/tools/tasks/main.yml | |||
@@ -70,7 +70,19 @@ | |||
70 | dest: $XDG_CONFIG_HOME/systemd/user/ | 70 | dest: $XDG_CONFIG_HOME/systemd/user/ |
71 | notify: | 71 | notify: |
72 | - reload systemd | 72 | - reload systemd |
73 | - name: monitor home service file | ||
74 | copy: | ||
75 | src: monitor_home.service | ||
76 | dest: "$XDG_CONFIG_HOME/systemd/user/" | ||
77 | notify: | ||
78 | - reload systemd | ||
73 | - meta: flush_handlers | 79 | - meta: flush_handlers |
80 | - name: enable monitor home | ||
81 | systemd: | ||
82 | state: started | ||
83 | scope: user | ||
84 | name: monitor_home.service | ||
85 | enabled: true | ||
74 | - name: Clone password store | 86 | - name: Clone password store |
75 | git: | 87 | git: |
76 | dest: "$XDG_DATA_HOME/pass" | 88 | dest: "$XDG_DATA_HOME/pass" |