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
|
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"
|
- name: "NOTSCORED | 3.5.1.6 | PATCH | Ensure firewall rules exist for all open ports"
|
||||||
|
become: true
|
||||||
ufw:
|
ufw:
|
||||||
rule: allow
|
rule: allow
|
||||||
proto: tcp
|
proto: tcp
|
||||||
|
@ -46,6 +47,7 @@
|
||||||
- bring-down
|
- bring-down
|
||||||
|
|
||||||
- name: update permissions
|
- name: update permissions
|
||||||
|
become: true
|
||||||
file:
|
file:
|
||||||
path: /home/{{ main_user }}
|
path: /home/{{ main_user }}
|
||||||
state: directory
|
state: directory
|
||||||
|
|
Loading…
Reference in New Issue