testing
This commit is contained in:
parent
f54879de58
commit
f46be75cc1
@ -5,7 +5,6 @@
|
|||||||
- host_vars/bitwarden.yml
|
- host_vars/bitwarden.yml
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- nginx
|
- proxy
|
||||||
- docker
|
- docker
|
||||||
- traefik
|
|
||||||
- bitwarden
|
- bitwarden
|
||||||
|
1
roles/.gitignore
vendored
1
roles/.gitignore
vendored
@ -11,6 +11,7 @@
|
|||||||
!nextcloud*/
|
!nextcloud*/
|
||||||
!nginx*/
|
!nginx*/
|
||||||
!prometheus*/
|
!prometheus*/
|
||||||
|
!proxy/*
|
||||||
!rsnapshot*/
|
!rsnapshot*/
|
||||||
!traefik*/
|
!traefik*/
|
||||||
!unifi*/
|
!unifi*/
|
||||||
|
5
roles/proxy/handlers/main.yml
Normal file
5
roles/proxy/handlers/main.yml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
- name: Reload nginx
|
||||||
|
service:
|
||||||
|
name: nginx
|
||||||
|
state: reloaded
|
||||||
|
listen: reload_nginx
|
12
roles/proxy/tasks/main.yml
Normal file
12
roles/proxy/tasks/main.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user