24 lines
609 B
YAML
24 lines
609 B
YAML
---
|
|
# file: roles/snipeit/handlers/main.yml
|
|
|
|
- name: Reload nginx
|
|
service:
|
|
name: nginx
|
|
state: reloaded
|
|
|
|
- name: Reload firewalld
|
|
service:
|
|
name: firewalld
|
|
state: reloaded
|
|
|
|
- name: Restorecon nginx config
|
|
command: "restorecon -irv /etc/nginx/conf.d/{{ snipeit_nginx_config_output }}"
|
|
|
|
- name: Restorecon snipeit storage
|
|
command: "restorecon -irv {{ snipeit_install_path }}/storage"
|
|
|
|
- name: Restorecon snipeit public
|
|
command: "restorecon -irv {{ snipeit_install_path }}/public"
|
|
|
|
- name: Restorecon snipeit cache
|
|
command: "restorecon -irv {{ snipeit_install_path }}/bootstrap/cache"
|