swap
This commit is contained in:
parent
f113feea5b
commit
af8fb4b0b4
2 changed files with 21 additions and 21 deletions
|
@ -50,25 +50,13 @@
|
||||||
passno: "0"
|
passno: "0"
|
||||||
state: "present"
|
state: "present"
|
||||||
|
|
||||||
- name: Allow all access to tcp port 22
|
- name: Allow all access to tcp port 22
|
||||||
community.general.ufw:
|
community.general.ufw:
|
||||||
rule: allow
|
rule: allow
|
||||||
port: '22'
|
port: '22'
|
||||||
proto: tcp
|
proto: tcp
|
||||||
|
|
||||||
- name: Allow all access to tcp port 80
|
- name: Allow everything and enable UFW
|
||||||
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:
|
community.general.ufw:
|
||||||
state: enabled
|
state: enabled
|
||||||
policy: reject
|
policy: reject
|
|
@ -57,3 +57,15 @@
|
||||||
docker_login:
|
docker_login:
|
||||||
username: kekskurse
|
username: kekskurse
|
||||||
password: "{{ docker_kekskurse_password }}"
|
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
|
||||||
|
|
Loading…
Reference in a new issue