Browse Source

Remove old cleanup tasks

pull/2285/head
Slavi Pantaleev 3 years ago
parent
commit
a98f249e40
2 changed files with 0 additions and 15 deletions
  1. +0
    -9
      roles/custom/matrix-base/tasks/clean_up_old_files.yml
  2. +0
    -6
      roles/custom/matrix-base/tasks/main.yml

+ 0
- 9
roles/custom/matrix-base/tasks/clean_up_old_files.yml View File

@@ -1,9 +0,0 @@
---

- name: Get rid of old files and directories
ansible.builtin.file:
path: "{{ item }}"
state: absent
with_items:
- "{{ matrix_base_data_path }}/environment-variables"
- "{{ matrix_base_data_path }}/scratchpad"

+ 0
- 6
roles/custom/matrix-base/tasks/main.yml View File

@@ -8,12 +8,6 @@
tags: tags:
- setup-all - setup-all


- ansible.builtin.import_tasks: "{{ role_path }}/tasks/clean_up_old_files.yml"
when: run_setup | bool
tags:
- setup-all
- common

# This needs to always run, because it populates `matrix_user_uid` and `matrix_user_gid`, # This needs to always run, because it populates `matrix_user_uid` and `matrix_user_gid`,
# which are required by many other roles. # which are required by many other roles.
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml"


Loading…
Cancel
Save