Fix mxisd -> ma1sd migration for older versions of Ansible

This commit is contained in:
Slavi Pantaleev
2020-04-03 13:12:03 +03:00
parent c2d0304eb1
commit c3efd2966f
2 changed files with 22 additions and 29 deletions

View File

@ -4,9 +4,6 @@
# Tasks related to setting up ma1sd
#
- import_tasks: "{{ role_path }}/tasks/migrate_mxisd.yml"
when: matrix_ma1sd_enabled|bool
- name: Ensure ma1sd paths exist
file:
path: "{{ item.path }}"
@ -20,6 +17,9 @@
- { path: "{{ matrix_ma1sd_docker_src_files_path }}", when: "{{ matrix_ma1sd_container_image_self_build }}"}
when: matrix_ma1sd_enabled|bool and item.when
- import_tasks: "{{ role_path }}/tasks/migrate_mxisd.yml"
when: matrix_ma1sd_enabled|bool
- name: Ensure ma1sd image is pulled
docker_image:
name: "{{ matrix_ma1sd_docker_image }}"