become = true on update permissions + set ufw allowed ports for RC
This commit is contained in:
parent
b37cf0345a
commit
0a2cabbf17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue