updates for pihole, http site, venv requirements
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user