From bb4ab4dec95b9dc2a33b196f8d973c81c0f5fc00 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 13 Mar 2017 13:41:59 -0400 Subject: initial commit --- handlers/main.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 handlers/main.yml (limited to 'handlers') diff --git a/handlers/main.yml b/handlers/main.yml new file mode 100644 index 0000000..df6cede --- /dev/null +++ b/handlers/main.yml @@ -0,0 +1,5 @@ +--- +# File: /etc/ansible/roles/use-proxy/handlers/main.yml + +- name: stop ssh tunnel + shell: ps -ef | grep -iE -- "ss[h].*{{local_proxy_port}}" | awk '{print $2}' | xargs kill -9 -- cgit