Initial Commit

This commit is contained in:
Tyler Hale 2024-05-15 08:23:37 -06:00
parent 64d337953c
commit 1d1f7735a0
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
10 changed files with 607 additions and 1 deletions

View 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"