ufw fixes
This commit is contained in:
parent
588af03504
commit
bb8e5c0ed8
|
@ -6,7 +6,7 @@
|
||||||
state: restarted
|
state: restarted
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
- name: Restart ufw
|
- name: Reload ufw
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: ufw
|
name: ufw
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|
|
@ -58,8 +58,9 @@
|
||||||
rule: allow
|
rule: allow
|
||||||
name: "OpenSSH"
|
name: "OpenSSH"
|
||||||
from: "{{ item }}"
|
from: "{{ item }}"
|
||||||
|
state: "enabled"
|
||||||
notify:
|
notify:
|
||||||
- Restart ufw
|
- Reload ufw
|
||||||
|
|
||||||
## DNS
|
## DNS
|
||||||
- name: Configure systemd-resolved
|
- name: Configure systemd-resolved
|
||||||
|
|
Loading…
Reference in New Issue