aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/nginx/handlers
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-12-21 13:25:02 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-02 08:52:03 +0100
commit1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208 (patch)
tree255291d12eb6f025694f2bb1fb8717612d2b6e7b /ansible/roles/nginx/handlers
parent1cd44b1fb602fee7f844764f866ce19311279b88 (diff)
downloadinfra-1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208.tar.gz
infra-1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208.tar.bz2
infra-1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208.tar.xz
infra-1f3564a99e21af5bd4ac4d11fa3ec7c3885e5208.zip
minio
Diffstat (limited to 'ansible/roles/nginx/handlers')
-rw-r--r--ansible/roles/nginx/handlers/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/nginx/handlers/main.yml b/ansible/roles/nginx/handlers/main.yml
new file mode 100644
index 0000000..039e72b
--- /dev/null
+++ b/ansible/roles/nginx/handlers/main.yml
@@ -0,0 +1,11 @@
+- name: systemctl reload nginx
+ become: yes
+ systemd:
+ name: nginx
+ state: reloaded
+
+- name: systemctl restart nginx
+ become: yes
+ systemd:
+ name: nginx
+ state: restarted