updates for pihole, http site, venv requirements

This commit is contained in:
Bastian de Byl
2022-04-02 21:01:42 -04:00
parent 78a4d5c3b7
commit d197909c05
9 changed files with 89 additions and 10 deletions

View File

@@ -36,11 +36,19 @@
mode: 0644
loop:
- "{{ ci_server_name }}.http.conf"
- "{{ pi_server_name }}.conf"
- "{{ home_server_name }}.conf"
- "{{ parts_server_name }}.conf"
notify: restart_nginx
tags: http
- name: remove pihole from sites-enabled if there
become: true
file:
path: "/etc/nginx/sites-enabled/pi.hole.conf"
state: absent
tags: http
- name: enable desired nginx http sites
become: true
file:
@@ -49,6 +57,7 @@
state: link
loop:
- "{{ ci_server_name }}.http.conf"
- "{{ pi_server_name }}.conf"
- "{{ parts_server_name }}.conf"
notify: restart_nginx
tags: http