Initial Commit
This commit is contained in:
parent
64d337953c
commit
1d1f7735a0
10 changed files with 607 additions and 1 deletions
24
roles/snipeit/handlers/main.yml
Normal file
24
roles/snipeit/handlers/main.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
# 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"
|
Loading…
Add table
Add a link
Reference in a new issue