Просмотр исходного кода

Remove old cleanup tasks

pull/2285/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
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"


Загрузка…
Отмена
Сохранить