fix: dont expose redis and cleanup downloads
This commit is contained in:
parent
908f96b51a
commit
eb586633ec
1 changed files with 4 additions and 12 deletions
16
ansible/roles/cache/tasks/main.yml
vendored
16
ansible/roles/cache/tasks/main.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue