diff options
Diffstat (limited to 'roles/web/handlers')
-rw-r--r-- | roles/web/handlers/main.yml | 1 | ||||
-rw-r--r-- | roles/web/handlers/nginx.yml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/roles/web/handlers/main.yml b/roles/web/handlers/main.yml new file mode 100644 index 0000000..58b30be --- /dev/null +++ b/roles/web/handlers/main.yml @@ -0,0 +1 @@ +- ansible.builtin.import_tasks: roles/web/handlers/nginx.yml diff --git a/roles/web/handlers/nginx.yml b/roles/web/handlers/nginx.yml new file mode 100644 index 0000000..c10ab50 --- /dev/null +++ b/roles/web/handlers/nginx.yml @@ -0,0 +1,4 @@ +- name: Reload nginx + ansible.builtin.service: + name: nginx + state: reloaded |