aboutsummaryrefslogtreecommitdiff
path: root/roles/nginx/handlers/main.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-01 01:27:09 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2023-09-01 01:27:09 +0200
commit347803f5a811972c719b09999d4d2b5e9e32e3eb (patch)
treecd7c5705426ae0ff8a41e84418c5407fbc1ec810 /roles/nginx/handlers/main.yml
parent7ad67630c40c0669cc1c140ff2d42311fb780b47 (diff)
downloadansible_collection-347803f5a811972c719b09999d4d2b5e9e32e3eb.tar.gz
new nginx role
Diffstat (limited to 'roles/nginx/handlers/main.yml')
-rw-r--r--roles/nginx/handlers/main.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/roles/nginx/handlers/main.yml b/roles/nginx/handlers/main.yml
new file mode 100644
index 0000000..6ec4482
--- /dev/null
+++ b/roles/nginx/handlers/main.yml
@@ -0,0 +1,7 @@
+---
+- name: restart nginx
+ systemd:
+ name: nginx
+ enabled: true
+ state: restarted
+ become: true