From b37cf0345aa97df1146da02ed4dff68cfae81b2c Mon Sep 17 00:00:00 2001 From: BSounder Date: Thu, 7 Jul 2022 13:48:50 -0700 Subject: [PATCH] harden tag to harden.yml task, become: true on installing unzip in rocketchat task --- tasks/main.yml | 5 ++--- tasks/rocketchat.yml | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 80a9198..8172679 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,9 +3,8 @@ - include: ssh_port_fallback.yml - include: harden.yml # become: true -# apply tags,become -# when: harden_os -# tags: harden + when: harden_os + tags: harden - include: docker.yml # become: true diff --git a/tasks/rocketchat.yml b/tasks/rocketchat.yml index 387c80a..3f974fb 100644 --- a/tasks/rocketchat.yml +++ b/tasks/rocketchat.yml @@ -1,5 +1,6 @@ --- - name: Install unzip using apt + become: true 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"