aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/rosin/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/rosin/handlers')
-rw-r--r--ansible/roles/rosin/handlers/main.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/ansible/roles/rosin/handlers/main.yml b/ansible/roles/rosin/handlers/main.yml
new file mode 100644
index 0000000..5248ca9
--- /dev/null
+++ b/ansible/roles/rosin/handlers/main.yml
@@ -0,0 +1,11 @@
+---
+- name: reload nginx
+ become: yes
+ service:
+ name: nginx
+ state: reloaded
+
+- name: apt update
+ become: yes
+ apt:
+ update_cache: yes