This commit is contained in:
Kris Lamoureux 2022-05-19 01:23:36 -04:00
parent f54879de58
commit f46be75cc1
4 changed files with 19 additions and 2 deletions

View File

@ -5,7 +5,6 @@
- host_vars/bitwarden.yml
roles:
- base
- nginx
- proxy
- docker
- traefik
- bitwarden

1
roles/.gitignore vendored
View File

@ -11,6 +11,7 @@
!nextcloud*/
!nginx*/
!prometheus*/
!proxy/*
!rsnapshot*/
!traefik*/
!unifi*/

View File

@ -0,0 +1,5 @@
- name: Reload nginx
service:
name: nginx
state: reloaded
listen: reload_nginx

View File

@ -0,0 +1,12 @@
- name: Install nginx
apt:
name: nginx
state: present
update_cache: true
- name: Install nginx configuration
template:
src: nginx.conf.j2
dest: /etc/nginx/nginx.conf
mode: '0644'
notify: reload_nginx