This commit is contained in:
Kekskurse 2023-07-21 06:19:47 +02:00
parent f113feea5b
commit af8fb4b0b4
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
2 changed files with 21 additions and 21 deletions

View File

@ -50,25 +50,13 @@
passno: "0"
state: "present"
- name: Allow all access to tcp port 22
community.general.ufw:
rule: allow
port: '22'
proto: tcp
- name: Allow all access to tcp port 22
community.general.ufw:
rule: allow
port: '22'
proto: tcp
- name: Allow all access to tcp port 80
community.general.ufw:
rule: allow
port: '80'
proto: tcp
- name: Allow all access to tcp port 443
community.general.ufw:
rule: allow
port: '443'
proto: tcp
- name: Allow everything and enable UFW
community.general.ufw:
state: enabled
policy: reject
- name: Allow everything and enable UFW
community.general.ufw:
state: enabled
policy: reject

View File

@ -57,3 +57,15 @@
docker_login:
username: kekskurse
password: "{{ docker_kekskurse_password }}"
- name: Allow all access to tcp port 80
community.general.ufw:
rule: allow
port: '80'
proto: tcp
- name: Allow all access to tcp port 443
community.general.ufw:
rule: allow
port: '443'
proto: tcp