From be8701c13800eb84fc4afb118c16738abee55850 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Fri, 25 Mar 2016 11:49:45 -0700 Subject: import basics from NSA's commission repo --- roles/nginx/handlers/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 roles/nginx/handlers/main.yml (limited to 'roles/nginx/handlers') diff --git a/roles/nginx/handlers/main.yml b/roles/nginx/handlers/main.yml new file mode 100644 index 0000000..c63e4a3 --- /dev/null +++ b/roles/nginx/handlers/main.yml @@ -0,0 +1,7 @@ +--- +- name: test nginx + command: nginx -t + notify: reload nginx + +- name: restart nginx + service: name=nginx state=restarted enabled=yes -- cgit v1.2.3