aboutsummaryrefslogtreecommitdiffstats
path: root/roles/shadowsocks/tasks
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-09-19 19:19:36 +0800
committerAaron LI <aly@aaronly.me>2019-09-19 19:19:36 +0800
commit9845ee026fb7515283b42d47fb28cb9693360598 (patch)
tree137c3e7a819d14f384215f201013eb0fdc1680af /roles/shadowsocks/tasks
parent00faf392710f0b029083c64fde507300eed94f6f (diff)
downloadansible-dfly-vps-9845ee026fb7515283b42d47fb28cb9693360598.tar.bz2
shadowsocks: Minor tweaks
Diffstat (limited to 'roles/shadowsocks/tasks')
-rw-r--r--roles/shadowsocks/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/shadowsocks/tasks/main.yml b/roles/shadowsocks/tasks/main.yml
index 26059fa..bd22af4 100644
--- a/roles/shadowsocks/tasks/main.yml
+++ b/roles/shadowsocks/tasks/main.yml
@@ -9,6 +9,7 @@
src: shadowsocks
dest: /usr/local/etc/rc.d/shadowsocks
mode: 0555
+ notify: restart-shadowsocks
- name: setup configuration file
vars:
@@ -18,6 +19,7 @@
dest: /usr/local/etc/shadowsocks-libev/{{ profile.name }}.json
mode: 0640
with_items: "{{ shadowsocks.profiles }}"
+ notify: restart-shadowsocks
- name: setup rc.conf
lineinfile: