- name:Fail if trying to self-build on Ansible < 2.8
- name:Fail if trying to self-build on Ansible < 2.8
fail:
fail:
msg:"To self-build the Element image, you should use Ansible 2.8 or higher. See docs/ansible.md"
msg:"To self-build the Element image, you should use Ansible 2.8 or higher. See docs/ansible.md"
when:"ansible_version.major == 2 and ansible_version.minor < 8 and matrix_appservice_slack_container_self_build and matrix_appservice_slack_enabled"
when:"ansible_version.major == 2 and ansible_version.minor < 8 and matrix_appservice_slack_container_image_self_build and matrix_appservice_slack_enabled"
# If the matrix-synapse role is not used, `matrix_synapse_role_executed` won't exist.
# If the matrix-synapse role is not used, `matrix_synapse_role_executed` won't exist.
matrix_telegram_lottieconverter_docker_image:"dock.mau.dev/tulir/lottieconverter:alpine-3.14"# needs to be ajusted according to FROM clause of Dockerfile of mautrix-telegram
matrix_telegram_lottieconverter_docker_image:"dock.mau.dev/tulir/lottieconverter:alpine-3.14"# needs to be ajusted according to FROM clause of Dockerfile of mautrix-telegram
- name:Fail if trying to self-build on Ansible < 2.8
- name:Fail if trying to self-build on Ansible < 2.8
fail:
fail:
msg:"To self-build the Element image, you should use Ansible 2.8 or higher. See docs/ansible.md"
msg:"To self-build the Element image, you should use Ansible 2.8 or higher. See docs/ansible.md"
when:"ansible_version.major == 2 and ansible_version.minor < 8 and matrix_mautrix_telegram_container_self_build and matrix_mautrix_telegram_enabled"
when:"ansible_version.major == 2 and ansible_version.minor < 8 and matrix_mautrix_telegram_container_image_self_build and matrix_mautrix_telegram_enabled"
when:"matrix_telegram_lottieconverter_container_self_build|bool and matrix_telegram_lottieconverter_git_pull_results.changed and matrix_mautrix_telegram_container_self_build|bool"
when:"matrix_telegram_lottieconverter_container_image_self_build|bool and matrix_telegram_lottieconverter_git_pull_results.changed and matrix_mautrix_telegram_container_image_self_build|bool"
- name:Ensure matrix-mautrix-telegram repository is present when self-building
- name:Ensure matrix-mautrix-telegram repository is present when self-building