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"
|
||||
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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue