become = true on update permissions + set ufw allowed ports for RC

This commit is contained in:
BSounder 2022-07-07 14:03:54 -07:00
parent b37cf0345a
commit 0a2cabbf17
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
apt: name=unzip state=latest update_cache=yes force_apt_get=yes
- name: "NOTSCORED | 3.5.1.6 | PATCH | Ensure firewall rules exist for all open ports"
become: true
ufw:
rule: allow
proto: tcp
@ -46,6 +47,7 @@
- bring-down
- name: update permissions
become: true
file:
path: /home/{{ main_user }}
state: directory