import_tasks -> ansible.builtin.import_tasks

development
Slavi Pantaleev 2 years ago
parent 03639e56a2
commit 1be8f8b0ba

@ -1,22 +1,22 @@
--- ---
- import_tasks: "{{ role_path }}/tasks/init.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
tags: tags:
- always - always
- import_tasks: "{{ role_path }}/tasks/validate_config.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/validate_config.yml"
when: "run_setup|bool and matrix_bot_maubot_enabled|bool" when: "run_setup|bool and matrix_bot_maubot_enabled|bool"
tags: tags:
- setup-all - setup-all
- setup-bot-maubot - setup-bot-maubot
- import_tasks: "{{ role_path }}/tasks/setup_install.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_install.yml"
when: "run_setup|bool and matrix_bot_maubot_enabled|bool" when: "run_setup|bool and matrix_bot_maubot_enabled|bool"
tags: tags:
- setup-all - setup-all
- setup-bot-maubot - setup-bot-maubot
- import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/setup_uninstall.yml"
when: "run_setup|bool and not matrix_bot_maubot_enabled|bool" when: "run_setup|bool and not matrix_bot_maubot_enabled|bool"
tags: tags:
- setup-all - setup-all

@ -1,7 +1,7 @@
--- ---
- import_tasks: "{{ role_path }}/tasks/conduit/setup_install.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/conduit/setup_install.yml"
when: "matrix_conduit_enabled | bool" when: "matrix_conduit_enabled | bool"
- import_tasks: "{{ role_path }}/tasks/conduit/setup_uninstall.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/conduit/setup_uninstall.yml"
when: "not matrix_conduit_enabled | bool" when: "not matrix_conduit_enabled | bool"

@ -1,10 +1,10 @@
--- ---
- import_tasks: "{{ role_path }}/tasks/init.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
tags: tags:
- always - always
- import_tasks: "{{ role_path }}/tasks/conduit/setup.yml" - ansible.builtin.import_tasks: "{{ role_path }}/tasks/conduit/setup.yml"
when: run_setup | bool when: run_setup | bool
tags: tags:
- setup-all - setup-all

Loading…
Cancel
Save