ufw fixes

This commit is contained in:
Elizabeth Hunt 2024-03-17 18:55:51 -04:00
parent 588af03504
commit bb8e5c0ed8
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
state: restarted
enabled: true
- name: Restart ufw
- name: Reload ufw
ansible.builtin.service:
name: ufw
state: restarted

View File

@ -58,8 +58,9 @@
rule: allow
name: "OpenSSH"
from: "{{ item }}"
state: "enabled"
notify:
- Restart ufw
- Reload ufw
## DNS
- name: Configure systemd-resolved