From eb586633ecbbabe8352debe906325256ac8d3333 Mon Sep 17 00:00:00 2001 From: Aravinth Manivannan Date: Sat, 9 Dec 2023 02:52:24 +0530 Subject: [PATCH] fix: dont expose redis and cleanup downloads --- ansible/roles/cache/tasks/main.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/ansible/roles/cache/tasks/main.yml b/ansible/roles/cache/tasks/main.yml index b0f83a6..6867f44 100644 --- a/ansible/roles/cache/tasks/main.yml +++ b/ansible/roles/cache/tasks/main.yml @@ -72,15 +72,7 @@ force: true mode: "0755" -# - name: Delete download dir -# ansible.builtin.file: -# path: /tmp/cache-lib -# state: absent - -- name: Allow port 6379 for redis - become: true - community.general.ufw: - state: enabled - rule: allow - proto: tcp - port: "6379" +- name: Delete download dir + ansible.builtin.file: + path: /tmp/cache-lib + state: absent