Add UFW handler
This commit is contained in:
parent
e4b67df1bf
commit
dda3eb4e2d
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
#- name: Ensure Apache virtual host is configured
|
#- name: Ensure Apache virtual host is configured
|
||||||
|
# when: handle_apache2_reverse_proxy
|
||||||
|
|
||||||
- name: Ensure Invicious composition is created
|
- name: Ensure Invicious composition is created
|
||||||
template:
|
template:
|
||||||
|
@ -8,3 +9,8 @@
|
||||||
backup: yes
|
backup: yes
|
||||||
|
|
||||||
#- name: Ensure composition is up
|
#- name: Ensure composition is up
|
||||||
|
- name: Ensure UFW allows port access
|
||||||
|
ufw:
|
||||||
|
rule: allow
|
||||||
|
port: "{{ invidious_internal_port }}"
|
||||||
|
when: handle_ufw
|
||||||
|
|
Loading…
Reference in a new issue