浏览代码

Remove old cleanup tasks

pull/2285/head
Slavi Pantaleev 3 年前
父节点
当前提交
a98f249e40
共有 2 个文件被更改,包括 0 次插入15 次删除
  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 查看文件

@@ -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 查看文件

@@ -8,12 +8,6 @@
tags:
- 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`,
# which are required by many other roles.
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_matrix_user.yml"


正在加载...
取消
保存