2021-03-14 11:20:09 +01:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: "[NGINX] - Install packages"
|
2023-01-13 18:02:09 +01:00
|
|
|
include_tasks: install.yml
|
2021-03-14 11:20:09 +01:00
|
|
|
|
|
|
|
- name: "[NGINX] - Configure nginx"
|
2023-01-13 18:02:09 +01:00
|
|
|
include_tasks: config.yml
|
2021-03-14 11:20:09 +01:00
|
|
|
|
|
|
|
- name: "[NGINX] - Set SSL configuration"
|
2023-12-24 08:26:08 +01:00
|
|
|
include_tasks: ssl.yml
|
2023-01-17 15:25:11 +01:00
|
|
|
|
|
|
|
- name: '[NGINX] - Deploy TOR for onion hidden services'
|
2023-12-24 08:26:08 +01:00
|
|
|
include_tasks: tor.yml
|
2023-01-17 15:25:11 +01:00
|
|
|
when: enable_tor == 'true'
|
|
|
|
|
|
|
|
- name: '[NGINX] - Create onion addresses'
|
|
|
|
include_tasks: 'onion_vhost.yml'
|
|
|
|
when: enable_tor == 'true'
|
|
|
|
loop: '{{ nginx_vhosts }}'
|
2021-03-14 11:20:09 +01:00
|
|
|
|
|
|
|
- name: "[NGINX] - Create Vhosts configuration"
|
2023-01-13 18:02:09 +01:00
|
|
|
include_tasks: vhost.yml
|
2023-01-18 22:58:55 +01:00
|
|
|
loop: '{{ nginx_vhosts }}'
|
2023-01-17 15:25:11 +01:00
|
|
|
|
|
|
|
|