use fqcns for some task

Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
This commit is contained in:
Sebastian Gumprich 2022-10-28 13:20:17 +02:00
parent 582a73b027
commit 48388a3d96
103 changed files with 159 additions and 159 deletions

View File

@ -59,7 +59,7 @@
mode: 0600 mode: 0600
- name: Ensure borg image is pulled - name: Ensure borg image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_backup_borg_docker_image }}" name: "{{ matrix_backup_borg_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_backup_borg_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_backup_borg_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -82,7 +82,7 @@
when: "matrix_backup_borg_container_image_self_build | bool" when: "matrix_backup_borg_container_image_self_build | bool"
- name: Ensure borg image is built - name: Ensure borg image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_backup_borg_docker_image }}" name: "{{ matrix_backup_borg_docker_image }}"
source: build source: build
force_source: "{{ matrix_backup_borg_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_backup_borg_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -36,6 +36,6 @@
state: absent state: absent
- name: Ensure borg Docker image doesn't exist - name: Ensure borg Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_backup_borg_docker_image }}" name: "{{ matrix_backup_borg_docker_image }}"
state: absent state: absent

View File

@ -1,7 +1,7 @@
--- ---
- name: Install host dependencies - name: Install host dependencies
pacman: community.general.pacman:
name: name:
- python-docker - python-docker
- python-dnspython - python-dnspython
@ -9,7 +9,7 @@
update_cache: true update_cache: true
- name: Ensure Docker is installed - name: Ensure Docker is installed
pacman: community.general.pacman:
name: name:
- docker - docker
state: present state: present

View File

@ -20,7 +20,7 @@
when: "matrix_vars_yml_snapshotting_enabled | bool" when: "matrix_vars_yml_snapshotting_enabled | bool"
- name: Ensure Matrix network is created in Docker - name: Ensure Matrix network is created in Docker
docker_network: community.docker.docker_network:
name: "{{ matrix_docker_network }}" name: "{{ matrix_docker_network }}"
driver: bridge driver: bridge

View File

@ -16,7 +16,7 @@
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: Ensure fuse installed (Archlinux) - name: Ensure fuse installed (Archlinux)
pacman: community.general.pacman:
name: name:
- fuse3 - fuse3
state: present state: present

View File

@ -16,7 +16,7 @@
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: Ensure openssl installed (Archlinux) - name: Ensure openssl installed (Archlinux)
pacman: community.general.pacman:
name: name:
- openssl - openssl
state: present state: present

View File

@ -50,7 +50,7 @@
mode: 0640 mode: 0640
- name: Ensure buscarron image is pulled - name: Ensure buscarron image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_buscarron_docker_image }}" name: "{{ matrix_bot_buscarron_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_buscarron_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_buscarron_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -73,7 +73,7 @@
when: "matrix_bot_buscarron_container_image_self_build | bool" when: "matrix_bot_buscarron_container_image_self_build | bool"
- name: Ensure buscarron image is built - name: Ensure buscarron image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_buscarron_docker_image }}" name: "{{ matrix_bot_buscarron_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_buscarron_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_buscarron_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure buscarron Docker image doesn't exist - name: Ensure buscarron Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_buscarron_docker_image }}" name: "{{ matrix_bot_buscarron_docker_image }}"
state: absent state: absent

View File

@ -17,7 +17,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure go-neb image is pulled - name: Ensure go-neb image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_go_neb_docker_image }}" name: "{{ matrix_bot_go_neb_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_go_neb_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_go_neb_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure go-neb Docker image doesn't exist - name: Ensure go-neb Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_go_neb_docker_image }}" name: "{{ matrix_bot_go_neb_docker_image }}"
state: absent state: absent

View File

@ -50,7 +50,7 @@
mode: 0640 mode: 0640
- name: Ensure honoroit image is pulled - name: Ensure honoroit image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_honoroit_docker_image }}" name: "{{ matrix_bot_honoroit_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_honoroit_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_honoroit_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -73,7 +73,7 @@
when: "matrix_bot_honoroit_container_image_self_build | bool" when: "matrix_bot_honoroit_container_image_self_build | bool"
- name: Ensure honoroit image is built - name: Ensure honoroit image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_honoroit_docker_image }}" name: "{{ matrix_bot_honoroit_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_honoroit_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_honoroit_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure honoroit Docker image doesn't exist - name: Ensure honoroit Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_honoroit_docker_image }}" name: "{{ matrix_bot_honoroit_docker_image }}"
state: absent state: absent

View File

@ -22,7 +22,7 @@
mode: 0640 mode: 0640
- name: Ensure matrix-registration-bot image is pulled - name: Ensure matrix-registration-bot image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_registration_bot_docker_image }}" name: "{{ matrix_bot_matrix_registration_bot_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_matrix_registration_bot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_matrix_registration_bot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -45,7 +45,7 @@
when: "matrix_bot_matrix_registration_bot_container_image_self_build | bool" when: "matrix_bot_matrix_registration_bot_container_image_self_build | bool"
- name: Ensure matrix-registration-bot image is built - name: Ensure matrix-registration-bot image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_registration_bot_docker_image }}" name: "{{ matrix_bot_matrix_registration_bot_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_matrix_registration_bot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_matrix_registration_bot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure matrix-registration-bot Docker image doesn't exist - name: Ensure matrix-registration-bot Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_registration_bot_docker_image }}" name: "{{ matrix_bot_matrix_registration_bot_docker_image }}"
state: absent state: absent

View File

@ -43,7 +43,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure matrix-reminder-bot image is pulled - name: Ensure matrix-reminder-bot image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}" name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_matrix_reminder_bot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_matrix_reminder_bot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -66,7 +66,7 @@
when: "matrix_bot_matrix_reminder_bot_container_image_self_build | bool" when: "matrix_bot_matrix_reminder_bot_container_image_self_build | bool"
- name: Ensure matrix-reminder-bot image is built - name: Ensure matrix-reminder-bot image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}" name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_matrix_reminder_bot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_matrix_reminder_bot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure matrix-reminder-bot Docker image doesn't exist - name: Ensure matrix-reminder-bot Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}" name: "{{ matrix_bot_matrix_reminder_bot_docker_image }}"
state: absent state: absent

View File

@ -26,7 +26,7 @@
mode: "u=rwx" mode: "u=rwx"
- name: Ensure maubot image is pulled - name: Ensure maubot image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_maubot_docker_image }}" name: "{{ matrix_bot_maubot_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_maubot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_maubot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -49,7 +49,7 @@
when: "matrix_bot_maubot_container_image_self_build|bool" when: "matrix_bot_maubot_container_image_self_build|bool"
- name: Ensure maubot image is built - name: Ensure maubot image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_maubot_docker_image }}" name: "{{ matrix_bot_maubot_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_maubot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_maubot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure maubot Docker image doesn't exist - name: Ensure maubot Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_maubot_docker_image }}" name: "{{ matrix_bot_maubot_docker_image }}"
state: absent state: absent

View File

@ -18,7 +18,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure mjolnir Docker image is pulled - name: Ensure mjolnir Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_mjolnir_docker_image }}" name: "{{ matrix_bot_mjolnir_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_mjolnir_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_mjolnir_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -41,7 +41,7 @@
when: "matrix_bot_mjolnir_container_image_self_build | bool" when: "matrix_bot_mjolnir_container_image_self_build | bool"
- name: Ensure mjolnir Docker image is built - name: Ensure mjolnir Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_mjolnir_docker_image }}" name: "{{ matrix_bot_mjolnir_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_mjolnir_git_pull_results.changed }}" force_source: "{{ matrix_bot_mjolnir_git_pull_results.changed }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure mjolnir Docker image doesn't exist - name: Ensure mjolnir Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_mjolnir_docker_image }}" name: "{{ matrix_bot_mjolnir_docker_image }}"
state: absent state: absent

View File

@ -46,7 +46,7 @@
mode: 0640 mode: 0640
- name: Ensure postmoogle image is pulled - name: Ensure postmoogle image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_postmoogle_docker_image }}" name: "{{ matrix_bot_postmoogle_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_bot_postmoogle_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_postmoogle_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -69,7 +69,7 @@
when: "matrix_bot_postmoogle_container_image_self_build | bool" when: "matrix_bot_postmoogle_container_image_self_build | bool"
- name: Ensure postmoogle image is built - name: Ensure postmoogle image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_postmoogle_docker_image }}" name: "{{ matrix_bot_postmoogle_docker_image }}"
source: build source: build
force_source: "{{ matrix_bot_postmoogle_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_bot_postmoogle_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure postmoogle Docker image doesn't exist - name: Ensure postmoogle Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_bot_postmoogle_docker_image }}" name: "{{ matrix_bot_postmoogle_docker_image }}"
state: absent state: absent

View File

@ -29,7 +29,7 @@
matrix_appservice_discord_requires_restart: true matrix_appservice_discord_requires_restart: true
- name: Ensure Appservice Discord image is pulled - name: Ensure Appservice Discord image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_discord_docker_image }}" name: "{{ matrix_appservice_discord_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -64,7 +64,7 @@
matrix_appservice_irc_requires_restart: true matrix_appservice_irc_requires_restart: true
- name: Ensure Appservice IRC image is pulled - name: Ensure Appservice IRC image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_irc_docker_image }}" name: "{{ matrix_appservice_irc_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_irc_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_irc_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -87,7 +87,7 @@
when: "matrix_appservice_irc_enabled | bool and matrix_appservice_irc_container_image_self_build | bool" when: "matrix_appservice_irc_enabled | bool and matrix_appservice_irc_container_image_self_build | bool"
- name: Ensure matrix-appservice-irc Docker image is built - name: Ensure matrix-appservice-irc Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_irc_docker_image }}" name: "{{ matrix_appservice_irc_docker_image }}"
source: build source: build
force_source: "{{ matrix_appservice_irc_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_irc_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -9,7 +9,7 @@
when: "matrix_synapse_role_executed | default(False)" when: "matrix_synapse_role_executed | default(False)"
- name: Ensure matrix-appservice-kakaotalk image is pulled - name: Ensure matrix-appservice-kakaotalk image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_kakaotalk_docker_image }}" name: "{{ matrix_appservice_kakaotalk_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_kakaotalk_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_kakaotalk_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -21,7 +21,7 @@
until: result is not failed until: result is not failed
- name: Ensure matrix-appservice-kakaotalk-node image is pulled - name: Ensure matrix-appservice-kakaotalk-node image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_kakaotalk_node_docker_image }}" name: "{{ matrix_appservice_kakaotalk_node_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_kakaotalk_node_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_kakaotalk_node_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -58,7 +58,7 @@
when: "matrix_appservice_kakaotalk_container_image_self_build | bool" when: "matrix_appservice_kakaotalk_container_image_self_build | bool"
- name: Ensure matrix-appservice-kakaotalk-node Docker image is built - name: Ensure matrix-appservice-kakaotalk-node Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_kakaotalk_node_docker_image }}" name: "{{ matrix_appservice_kakaotalk_node_docker_image }}"
source: build source: build
force_source: "{{ matrix_appservice_kakaotalk_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_kakaotalk_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -70,7 +70,7 @@
when: "matrix_appservice_kakaotalk_container_image_self_build | bool" when: "matrix_appservice_kakaotalk_container_image_self_build | bool"
- name: Ensure matrix-appservice-kakaotalk Docker image is built - name: Ensure matrix-appservice-kakaotalk Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_kakaotalk_docker_image }}" name: "{{ matrix_appservice_kakaotalk_docker_image }}"
source: build source: build
force_source: "{{ matrix_appservice_kakaotalk_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_kakaotalk_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -32,7 +32,7 @@
matrix_appservice_slack_requires_restart: true matrix_appservice_slack_requires_restart: true
- name: Ensure Appservice Slack image is pulled - name: Ensure Appservice Slack image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_slack_docker_image }}" name: "{{ matrix_appservice_slack_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_slack_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_slack_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -55,7 +55,7 @@
when: "matrix_appservice_slack_container_image_self_build | bool" when: "matrix_appservice_slack_container_image_self_build | bool"
- name: Ensure matrix-appservice-slack Docker image is built - name: Ensure matrix-appservice-slack Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_slack_docker_image }}" name: "{{ matrix_appservice_slack_docker_image }}"
source: build source: build
force_source: "{{ matrix_appservice_slack_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_slack_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -15,7 +15,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure Appservice webhooks image is pulled - name: Ensure Appservice webhooks image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_webhooks_docker_image }}" name: "{{ matrix_appservice_webhooks_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_appservice_webhooks_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_webhooks_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -39,7 +39,7 @@
register: matrix_appservice_webhooks_git_pull_results register: matrix_appservice_webhooks_git_pull_results
- name: Ensure Appservice webhooks Docker image is built - name: Ensure Appservice webhooks Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_appservice_webhooks_docker_image }}" name: "{{ matrix_appservice_webhooks_docker_image }}"
source: build source: build
force_source: "{{ matrix_appservice_webhooks_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_appservice_webhooks_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -23,7 +23,7 @@
- name: Ensure Beeper LinkedIn image is pulled - name: Ensure Beeper LinkedIn image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_beeper_linkedin_docker_image }}" name: "{{ matrix_beeper_linkedin_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_beeper_linkedin_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_beeper_linkedin_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -62,7 +62,7 @@
changed_when: matrix_beeper_linkedin_generate_docker_requirements_result.rc == 0 changed_when: matrix_beeper_linkedin_generate_docker_requirements_result.rc == 0
- name: Ensure Beeper LinkedIn Docker image is built - name: Ensure Beeper LinkedIn Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_beeper_linkedin_docker_image }}" name: "{{ matrix_beeper_linkedin_docker_image }}"
source: build source: build
force_source: "{{ matrix_beeper_linkedin_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_beeper_linkedin_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -52,7 +52,7 @@
when: item.when | bool when: item.when | bool
- name: Ensure Go Skype Bridge image is pulled - name: Ensure Go Skype Bridge image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_go_skype_bridge_docker_image }}" name: "{{ matrix_go_skype_bridge_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_go_skype_bridge_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_go_skype_bridge_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -75,7 +75,7 @@
when: "matrix_go_skype_bridge_container_image_self_build | bool" when: "matrix_go_skype_bridge_container_image_self_build | bool"
- name: Ensure Go Skype Bridge Docker image is built - name: Ensure Go Skype Bridge Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_go_skype_bridge_docker_image }}" name: "{{ matrix_go_skype_bridge_docker_image }}"
source: build source: build
force_source: "{{ matrix_go_skype_bridge_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_go_skype_bridge_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure heisenbridge image is pulled - name: Ensure heisenbridge image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_heisenbridge_docker_image }}" name: "{{ matrix_heisenbridge_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_heisenbridge_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_heisenbridge_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -15,7 +15,7 @@
when: item.when | bool when: item.when | bool
- name: Ensure hookshot image is pulled - name: Ensure hookshot image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_hookshot_docker_image }}" name: "{{ matrix_hookshot_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_hookshot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_hookshot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -38,7 +38,7 @@
when: "matrix_hookshot_container_image_self_build | bool" when: "matrix_hookshot_container_image_self_build | bool"
- name: Ensure hookshot Docker image is built - name: Ensure hookshot Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_hookshot_docker_image }}" name: "{{ matrix_hookshot_docker_image }}"
source: build source: build
force_source: "{{ matrix_hookshot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_hookshot_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -52,7 +52,7 @@
when: item.when | bool when: item.when | bool
- name: Ensure Mautrix Discord image is pulled - name: Ensure Mautrix Discord image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_discord_docker_image }}" name: "{{ matrix_mautrix_discord_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -75,7 +75,7 @@
when: "matrix_mautrix_discord_container_image_self_build | bool" when: "matrix_mautrix_discord_container_image_self_build | bool"
- name: Ensure Mautrix discord Docker image is built - name: Ensure Mautrix discord Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_discord_docker_image }}" name: "{{ matrix_mautrix_discord_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_discord_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_discord_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -37,7 +37,7 @@
matrix_mautrix_facebook_requires_restart: true matrix_mautrix_facebook_requires_restart: true
- name: Ensure Mautrix Facebook image is pulled - name: Ensure Mautrix Facebook image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_facebook_docker_image }}" name: "{{ matrix_mautrix_facebook_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_facebook_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_facebook_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -74,7 +74,7 @@
when: "matrix_mautrix_facebook_container_image_self_build | bool" when: "matrix_mautrix_facebook_container_image_self_build | bool"
- name: Ensure Mautrix Facebook Docker image is built - name: Ensure Mautrix Facebook Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_facebook_docker_image }}" name: "{{ matrix_mautrix_facebook_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_facebook_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_facebook_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -37,7 +37,7 @@
matrix_mautrix_googlechat_requires_restart: true matrix_mautrix_googlechat_requires_restart: true
- name: Ensure Mautrix googlechat image is pulled - name: Ensure Mautrix googlechat image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_googlechat_docker_image }}" name: "{{ matrix_mautrix_googlechat_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_googlechat_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_googlechat_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -74,7 +74,7 @@
when: "matrix_mautrix_googlechat_container_image_self_build | bool" when: "matrix_mautrix_googlechat_container_image_self_build | bool"
- name: Ensure Mautrix googlechat Docker image is built - name: Ensure Mautrix googlechat Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_googlechat_docker_image }}" name: "{{ matrix_mautrix_googlechat_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_googlechat_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_googlechat_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -37,7 +37,7 @@
matrix_mautrix_hangouts_requires_restart: true matrix_mautrix_hangouts_requires_restart: true
- name: Ensure Mautrix Hangouts image is pulled - name: Ensure Mautrix Hangouts image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_hangouts_docker_image }}" name: "{{ matrix_mautrix_hangouts_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_hangouts_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_hangouts_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -74,7 +74,7 @@
when: "matrix_mautrix_hangouts_container_image_self_build | bool" when: "matrix_mautrix_hangouts_container_image_self_build | bool"
- name: Ensure Mautrix Hangouts Docker image is built - name: Ensure Mautrix Hangouts Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_hangouts_docker_image }}" name: "{{ matrix_mautrix_hangouts_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_hangouts_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_hangouts_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -8,7 +8,7 @@
when: "matrix_synapse_role_executed | default(False)" when: "matrix_synapse_role_executed | default(False)"
- name: Ensure Mautrix instagram image is pulled - name: Ensure Mautrix instagram image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_instagram_docker_image }}" name: "{{ matrix_mautrix_instagram_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_instagram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_instagram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -45,7 +45,7 @@
when: "matrix_mautrix_instagram_container_image_self_build | bool" when: "matrix_mautrix_instagram_container_image_self_build | bool"
- name: Ensure Mautrix instagram Docker image is built - name: Ensure Mautrix instagram Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_instagram_docker_image }}" name: "{{ matrix_mautrix_instagram_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_instagram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_instagram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -9,7 +9,7 @@
when: "matrix_synapse_role_executed | default(False)" when: "matrix_synapse_role_executed | default(False)"
- name: Ensure Mautrix Signal image is pulled - name: Ensure Mautrix Signal image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_signal_docker_image }}" name: "{{ matrix_mautrix_signal_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_signal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_signal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -33,7 +33,7 @@
when: "matrix_mautrix_signal_container_image_self_build | bool" when: "matrix_mautrix_signal_container_image_self_build | bool"
- name: Ensure Mautrix Signal image is built - name: Ensure Mautrix Signal image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_signal_docker_image }}" name: "{{ matrix_mautrix_signal_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_signal_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_signal_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -46,7 +46,7 @@
- name: Ensure Mautrix Signal Daemon image is pulled - name: Ensure Mautrix Signal Daemon image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_signal_daemon_docker_image }}" name: "{{ matrix_mautrix_signal_daemon_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_signal_daemon_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_signal_daemon_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -66,7 +66,7 @@
when: "matrix_mautrix_signal_daemon_container_image_self_build | bool" when: "matrix_mautrix_signal_daemon_container_image_self_build | bool"
- name: Ensure Mautrix Signal Daemon image is built - name: Ensure Mautrix Signal Daemon image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_signal_daemon_docker_image }}" name: "{{ matrix_mautrix_signal_daemon_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_signal_daemon_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_signal_daemon_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -51,7 +51,7 @@
when: item.when | bool when: item.when | bool
- name: Ensure Mautrix Telegram image is pulled - name: Ensure Mautrix Telegram image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_telegram_docker_image }}" name: "{{ matrix_mautrix_telegram_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_telegram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_telegram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -74,7 +74,7 @@
when: "matrix_telegram_lottieconverter_container_image_self_build | bool and matrix_mautrix_telegram_container_image_self_build | bool" when: "matrix_telegram_lottieconverter_container_image_self_build | bool and matrix_mautrix_telegram_container_image_self_build | bool"
- name: Ensure lottieconverter Docker image is built - name: Ensure lottieconverter Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_telegram_lottieconverter_docker_image }}" name: "{{ matrix_telegram_lottieconverter_docker_image }}"
source: build source: build
force_source: "{{ matrix_telegram_lottieconverter_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_telegram_lottieconverter_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -97,7 +97,7 @@
when: "matrix_mautrix_telegram_container_image_self_build | bool" when: "matrix_mautrix_telegram_container_image_self_build | bool"
- name: Ensure matrix-mautrix-telegram Docker image is built - name: Ensure matrix-mautrix-telegram Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_telegram_docker_image }}" name: "{{ matrix_mautrix_telegram_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_telegram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_telegram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -12,7 +12,7 @@
matrix_mautrix_twitter_requires_restart: false matrix_mautrix_twitter_requires_restart: false
- name: Ensure Mautrix Twitter image is pulled - name: Ensure Mautrix Twitter image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_twitter_docker_image }}" name: "{{ matrix_mautrix_twitter_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_twitter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_twitter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -49,7 +49,7 @@
when: "matrix_mautrix_twitter_enabled | bool and matrix_mautrix_twitter_container_image_self_build" when: "matrix_mautrix_twitter_enabled | bool and matrix_mautrix_twitter_container_image_self_build"
- name: Ensure Mautrix Twitter Docker image is built - name: Ensure Mautrix Twitter Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_twitter_docker_image }}" name: "{{ matrix_mautrix_twitter_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_twitter_git_pull_results.changed }}" force_source: "{{ matrix_mautrix_twitter_git_pull_results.changed }}"

View File

@ -52,7 +52,7 @@
when: item.when | bool when: item.when | bool
- name: Ensure Mautrix Whatsapp image is pulled - name: Ensure Mautrix Whatsapp image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_whatsapp_docker_image }}" name: "{{ matrix_mautrix_whatsapp_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mautrix_whatsapp_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_whatsapp_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -75,7 +75,7 @@
when: "matrix_mautrix_whatsapp_container_image_self_build | bool" when: "matrix_mautrix_whatsapp_container_image_self_build | bool"
- name: Ensure Mautrix Whatsapp Docker image is built - name: Ensure Mautrix Whatsapp Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mautrix_whatsapp_docker_image }}" name: "{{ matrix_mautrix_whatsapp_docker_image }}"
source: build source: build
force_source: "{{ matrix_mautrix_whatsapp_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mautrix_whatsapp_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -71,7 +71,7 @@
matrix_mx_puppet_discord_requires_restart: true matrix_mx_puppet_discord_requires_restart: true
- name: Ensure MX Puppet Discord image is pulled - name: Ensure MX Puppet Discord image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_discord_docker_image }}" name: "{{ matrix_mx_puppet_discord_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_discord_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -94,7 +94,7 @@
when: "matrix_mx_puppet_discord_enabled | bool and matrix_mx_puppet_discord_container_image_self_build" when: "matrix_mx_puppet_discord_enabled | bool and matrix_mx_puppet_discord_container_image_self_build"
- name: Ensure MX Puppet Discord Docker image is built - name: Ensure MX Puppet Discord Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_discord_docker_image }}" name: "{{ matrix_mx_puppet_discord_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_discord_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_discord_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -69,7 +69,7 @@
matrix_mx_puppet_groupme_requires_restart: true matrix_mx_puppet_groupme_requires_restart: true
- name: Ensure MX Puppet Groupme image is pulled - name: Ensure MX Puppet Groupme image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_groupme_docker_image }}" name: "{{ matrix_mx_puppet_groupme_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_groupme_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_groupme_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -92,7 +92,7 @@
when: "matrix_mx_puppet_groupme_enabled | bool and matrix_mx_puppet_groupme_container_image_self_build" when: "matrix_mx_puppet_groupme_enabled | bool and matrix_mx_puppet_groupme_container_image_self_build"
- name: Ensure MX Puppet Groupme Docker image is built - name: Ensure MX Puppet Groupme Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_groupme_docker_image }}" name: "{{ matrix_mx_puppet_groupme_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_groupme_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_groupme_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -38,7 +38,7 @@
matrix_mx_puppet_instagram_requires_restart: true matrix_mx_puppet_instagram_requires_restart: true
- name: Ensure mx-puppet-instagram image is pulled - name: Ensure mx-puppet-instagram image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_instagram_docker_image }}" name: "{{ matrix_mx_puppet_instagram_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_instagram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_instagram_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -75,7 +75,7 @@
when: "matrix_mx_puppet_instagram_enabled | bool and matrix_mx_puppet_instagram_container_image_self_build | bool" when: "matrix_mx_puppet_instagram_enabled | bool and matrix_mx_puppet_instagram_container_image_self_build | bool"
- name: Ensure mx-puppet-instagram Docker image is built - name: Ensure mx-puppet-instagram Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_instagram_docker_image }}" name: "{{ matrix_mx_puppet_instagram_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_instagram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_instagram_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -65,7 +65,7 @@
matrix_mx_puppet_slack_requires_restart: true matrix_mx_puppet_slack_requires_restart: true
- name: Ensure MX Puppet Slack image is pulled - name: Ensure MX Puppet Slack image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_slack_docker_image }}" name: "{{ matrix_mx_puppet_slack_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_slack_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_slack_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -88,7 +88,7 @@
when: "matrix_mx_puppet_slack_enabled | bool and matrix_mx_puppet_slack_container_image_self_build" when: "matrix_mx_puppet_slack_enabled | bool and matrix_mx_puppet_slack_container_image_self_build"
- name: Ensure MX Puppet Slack Docker image is built - name: Ensure MX Puppet Slack Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_slack_docker_image }}" name: "{{ matrix_mx_puppet_slack_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_slack_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_slack_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -69,7 +69,7 @@
matrix_mx_puppet_steam_requires_restart: true matrix_mx_puppet_steam_requires_restart: true
- name: Ensure MX Puppet Steam image is pulled - name: Ensure MX Puppet Steam image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_steam_docker_image }}" name: "{{ matrix_mx_puppet_steam_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_steam_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_steam_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -92,7 +92,7 @@
when: "matrix_mx_puppet_steam_enabled | bool and matrix_mx_puppet_steam_container_image_self_build" when: "matrix_mx_puppet_steam_enabled | bool and matrix_mx_puppet_steam_container_image_self_build"
- name: Ensure MX Puppet Steam Docker image is built - name: Ensure MX Puppet Steam Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_steam_docker_image }}" name: "{{ matrix_mx_puppet_steam_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_steam_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_steam_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -69,7 +69,7 @@
matrix_mx_puppet_twitter_requires_restart: true matrix_mx_puppet_twitter_requires_restart: true
- name: Ensure MX Puppet Twitter image is pulled - name: Ensure MX Puppet Twitter image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_twitter_docker_image }}" name: "{{ matrix_mx_puppet_twitter_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mx_puppet_twitter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_twitter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -92,7 +92,7 @@
when: "matrix_mx_puppet_twitter_enabled | bool and matrix_mx_puppet_twitter_container_image_self_build" when: "matrix_mx_puppet_twitter_enabled | bool and matrix_mx_puppet_twitter_container_image_self_build"
- name: Ensure MX Puppet Twitter Docker image is built - name: Ensure MX Puppet Twitter Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mx_puppet_twitter_docker_image }}" name: "{{ matrix_mx_puppet_twitter_docker_image }}"
source: build source: build
force_source: "{{ matrix_mx_puppet_twitter_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mx_puppet_twitter_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure matrix-sms-bridge image is pulled - name: Ensure matrix-sms-bridge image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_sms_bridge_docker_image }}" name: "{{ matrix_sms_bridge_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
register: result register: result

View File

@ -31,7 +31,7 @@
mode: 0640 mode: 0640
- name: Ensure cactus comments image is pulled - name: Ensure cactus comments image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_cactus_comments_docker_image }}" name: "{{ matrix_cactus_comments_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_cactus_comments_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_cactus_comments_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -54,7 +54,7 @@
when: "matrix_cactus_comments_container_image_self_build | bool" when: "matrix_cactus_comments_container_image_self_build | bool"
- name: Ensure cactus comments image is built - name: Ensure cactus comments image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_cactus_comments_docker_image }}" name: "{{ matrix_cactus_comments_docker_image }}"
source: build source: build
force_source: "{{ matrix_cactus_comments_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_cactus_comments_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure cactus comments Docker image doesn't exist - name: Ensure cactus comments Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_cactus_comments_docker_image }}" name: "{{ matrix_cactus_comments_docker_image }}"
state: absent state: absent

View File

@ -12,7 +12,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure Cinny Docker image is pulled - name: Ensure Cinny Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_client_cinny_docker_image }}" name: "{{ matrix_client_cinny_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_client_cinny_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_client_cinny_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -54,7 +54,7 @@
when: "item.src is not none" when: "item.src is not none"
- name: Ensure Cinny Docker image is built - name: Ensure Cinny Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_client_cinny_docker_image }}" name: "{{ matrix_client_cinny_docker_image }}"
source: build source: build
force_source: "{{ matrix_client_cinny_git_pull_results.changed }}" force_source: "{{ matrix_client_cinny_git_pull_results.changed }}"

View File

@ -30,6 +30,6 @@
state: absent state: absent
- name: Ensure Cinny Docker image doesn't exist - name: Ensure Cinny Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_client_cinny_docker_image }}" name: "{{ matrix_client_cinny_docker_image }}"
state: absent state: absent

View File

@ -13,7 +13,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure Element Docker image is pulled - name: Ensure Element Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_client_element_docker_image }}" name: "{{ matrix_client_element_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_client_element_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_client_element_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -50,7 +50,7 @@
when: "matrix_client_element_container_image_self_build | bool and matrix_client_element_container_image_self_build_low_memory_system_patch_enabled | bool" when: "matrix_client_element_container_image_self_build | bool and matrix_client_element_container_image_self_build_low_memory_system_patch_enabled | bool"
- name: Ensure Element Docker image is built - name: Ensure Element Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_client_element_docker_image }}" name: "{{ matrix_client_element_docker_image }}"
source: build source: build
force_source: "{{ matrix_client_element_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_client_element_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Element Docker image doesn't exist - name: Ensure Element Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_client_element_docker_image }}" name: "{{ matrix_client_element_docker_image }}"
state: absent state: absent

View File

@ -13,7 +13,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure Hydrogen Docker image is pulled - name: Ensure Hydrogen Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_client_hydrogen_docker_image }}" name: "{{ matrix_client_hydrogen_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_client_hydrogen_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_client_hydrogen_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -58,7 +58,7 @@
# This step MUST come after the steps to install the configuration files because the config files # This step MUST come after the steps to install the configuration files because the config files
# are currently only read at build time, not at run time like most other components in the playbook # are currently only read at build time, not at run time like most other components in the playbook
- name: Ensure Hydrogen Docker image is built - name: Ensure Hydrogen Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_client_hydrogen_docker_image }}" name: "{{ matrix_client_hydrogen_docker_image }}"
source: build source: build
force_source: "{{ matrix_client_hydrogen_git_pull_results.changed }}" force_source: "{{ matrix_client_hydrogen_git_pull_results.changed }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Hydrogen Docker image doesn't exist - name: Ensure Hydrogen Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_client_hydrogen_docker_image }}" name: "{{ matrix_client_hydrogen_docker_image }}"
state: absent state: absent

View File

@ -1,6 +1,6 @@
--- ---
- name: Ensure Conduit Docker image is pulled - name: Ensure Conduit Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_conduit_docker_image }}" name: "{{ matrix_conduit_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_conduit_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_conduit_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -25,6 +25,6 @@
when: "matrix_conduit_service_stat.stat.exists" when: "matrix_conduit_service_stat.stat.exists"
- name: Ensure Conduit Docker image doesn't exist - name: Ensure Conduit Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_conduit_docker_image }}" name: "{{ matrix_conduit_docker_image }}"
state: absent state: absent

View File

@ -29,7 +29,7 @@
when: "matrix_corporal_enabled | bool and matrix_corporal_container_image_self_build | bool" when: "matrix_corporal_enabled | bool and matrix_corporal_container_image_self_build | bool"
- name: Ensure Matrix Corporal Docker image is built - name: Ensure Matrix Corporal Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}" name: "{{ matrix_corporal_docker_image }}"
source: build source: build
force_source: "{{ matrix_corporal_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_corporal_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -41,7 +41,7 @@
when: "matrix_corporal_enabled | bool and matrix_corporal_container_image_self_build | bool" when: "matrix_corporal_enabled | bool and matrix_corporal_container_image_self_build | bool"
- name: Ensure Matrix Corporal Docker image is pulled - name: Ensure Matrix Corporal Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}" name: "{{ matrix_corporal_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_corporal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_corporal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -115,7 +115,7 @@
when: "not matrix_corporal_enabled | bool" when: "not matrix_corporal_enabled | bool"
- name: Ensure Matrix Corporal Docker image doesn't exist - name: Ensure Matrix Corporal Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}" name: "{{ matrix_corporal_docker_image }}"
state: absent state: absent
when: "not matrix_corporal_enabled | bool" when: "not matrix_corporal_enabled | bool"

View File

@ -18,7 +18,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure Coturn image is pulled - name: Ensure Coturn image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_coturn_docker_image }}" name: "{{ matrix_coturn_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_coturn_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_coturn_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -42,7 +42,7 @@
register: matrix_coturn_git_pull_results register: matrix_coturn_git_pull_results
- name: Ensure Coturn Docker image is built - name: Ensure Coturn Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_coturn_docker_image }}" name: "{{ matrix_coturn_docker_image }}"
source: build source: build
force_source: "{{ matrix_coturn_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_coturn_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -69,7 +69,7 @@
group: "{{ matrix_user_groupname }}" group: "{{ matrix_user_groupname }}"
- name: Ensure Coturn network is created in Docker - name: Ensure Coturn network is created in Docker
docker_network: community.docker.docker_network:
name: "{{ matrix_coturn_docker_network }}" name: "{{ matrix_coturn_docker_network }}"
driver: bridge driver: bridge

View File

@ -18,7 +18,7 @@
when: "not local_path_media_store_stat.failed and not local_path_media_store_stat.stat.exists" when: "not local_path_media_store_stat.failed and not local_path_media_store_stat.stat.exists"
- name: Ensure Dendrite Docker image is pulled - name: Ensure Dendrite Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_dendrite_docker_image }}" name: "{{ matrix_dendrite_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_dendrite_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_dendrite_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -25,6 +25,6 @@
when: "matrix_dendrite_service_stat.stat.exists" when: "matrix_dendrite_service_stat.stat.exists"
- name: Ensure Dendrite Docker image doesn't exist - name: Ensure Dendrite Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_dendrite_docker_image }}" name: "{{ matrix_dendrite_docker_image }}"
state: absent state: absent

View File

@ -87,7 +87,7 @@
group: "{{ matrix_dimension_user_gid }}" group: "{{ matrix_dimension_user_gid }}"
- name: Ensure Dimension image is pulled - name: Ensure Dimension image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_dimension_docker_image }}" name: "{{ matrix_dimension_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_dimension_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_dimension_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -110,7 +110,7 @@
register: matrix_dimension_git_pull_results register: matrix_dimension_git_pull_results
- name: Ensure Dimension Docker image is built - name: Ensure Dimension Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_dimension_docker_image }}" name: "{{ matrix_dimension_docker_image }}"
source: build source: build
force_source: "{{ matrix_dimension_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_dimension_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Dimension Docker image doesn't exist - name: Ensure Dimension Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_dimension_docker_image }}" name: "{{ matrix_dimension_docker_image }}"
state: absent state: absent

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure Dynamic DNS image is pulled - name: Ensure Dynamic DNS image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_dynamic_dns_docker_image }}" name: "{{ matrix_dynamic_dns_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_dynamic_dns_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_dynamic_dns_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -37,7 +37,7 @@
when: "matrix_dynamic_dns_enabled | bool and matrix_dynamic_dns_container_image_self_build | bool" when: "matrix_dynamic_dns_enabled | bool and matrix_dynamic_dns_container_image_self_build | bool"
- name: Ensure Dynamic DNS Docker image is built - name: Ensure Dynamic DNS Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_dynamic_dns_docker_image }}" name: "{{ matrix_dynamic_dns_docker_image }}"
source: build source: build
force_source: "{{ matrix_dynamic_dns_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_dynamic_dns_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -22,7 +22,7 @@
mode: 0640 mode: 0640
- name: Ensure Email2Matrix image is pulled - name: Ensure Email2Matrix image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_email2matrix_docker_image }}" name: "{{ matrix_email2matrix_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_email2matrix_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_email2matrix_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -45,7 +45,7 @@
when: "matrix_email2matrix_container_image_self_build | bool" when: "matrix_email2matrix_container_image_self_build | bool"
- name: Ensure Email2Matrix Docker image is built - name: Ensure Email2Matrix Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_email2matrix_docker_image }}" name: "{{ matrix_email2matrix_docker_image }}"
source: build source: build
force_source: "{{ matrix_email2matrix_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_email2matrix_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Email2Matrix Docker image doesn't exist - name: Ensure Email2Matrix Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_email2matrix_docker_image }}" name: "{{ matrix_email2matrix_docker_image }}"
state: absent state: absent

View File

@ -17,7 +17,7 @@
group: "{{ matrix_etherpad_user_gid }}" group: "{{ matrix_etherpad_user_gid }}"
- name: Ensure Etherpad image is pulled - name: Ensure Etherpad image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_etherpad_docker_image }}" name: "{{ matrix_etherpad_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_etherpad_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_etherpad_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Etherpad Docker image doesn't exist - name: Ensure Etherpad Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_etherpad_docker_image }}" name: "{{ matrix_etherpad_docker_image }}"
state: absent state: absent

View File

@ -5,7 +5,7 @@
# #
- name: Ensure matrix-grafana image is pulled - name: Ensure matrix-grafana image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_grafana_docker_image }}" name: "{{ matrix_grafana_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_grafana_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_grafana_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -17,7 +17,7 @@
when: matrix_jitsi_enabled | bool and item.when when: matrix_jitsi_enabled | bool and item.when
- name: Ensure jitsi-jicofo Docker image is pulled - name: Ensure jitsi-jicofo Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_jitsi_jicofo_docker_image }}" name: "{{ matrix_jitsi_jicofo_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_jitsi_jicofo_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_jitsi_jicofo_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -17,7 +17,7 @@
when: matrix_jitsi_enabled | bool and item.when when: matrix_jitsi_enabled | bool and item.when
- name: Ensure jitsi-jvb Docker image is pulled - name: Ensure jitsi-jvb Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_jitsi_jvb_docker_image }}" name: "{{ matrix_jitsi_jvb_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_jitsi_jvb_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_jitsi_jvb_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -18,7 +18,7 @@
when: matrix_jitsi_enabled | bool and item.when when: matrix_jitsi_enabled | bool and item.when
- name: Ensure jitsi-prosody Docker image is pulled - name: Ensure jitsi-prosody Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_jitsi_prosody_docker_image }}" name: "{{ matrix_jitsi_prosody_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_jitsi_prosody_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_jitsi_prosody_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -19,7 +19,7 @@
when: matrix_jitsi_enabled | bool and item.when when: matrix_jitsi_enabled | bool and item.when
- name: Ensure jitsi-web Docker image is pulled - name: Ensure jitsi-web Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_jitsi_web_docker_image }}" name: "{{ matrix_jitsi_web_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_jitsi_web_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_jitsi_web_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -26,7 +26,7 @@
register: matrix_ldap_registration_proxy_git_pull_results register: matrix_ldap_registration_proxy_git_pull_results
- name: Ensure matrix_ldap_registration_proxy Docker image is built - name: Ensure matrix_ldap_registration_proxy Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_ldap_registration_proxy_docker_image }}" name: "{{ matrix_ldap_registration_proxy_docker_image }}"
source: build source: build
force_source: "{{ matrix_ldap_registration_proxy_git_pull_results.changed }}" force_source: "{{ matrix_ldap_registration_proxy_git_pull_results.changed }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure matrix_ldap_registration_proxy Docker image doesn't exist - name: Ensure matrix_ldap_registration_proxy Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_ldap_registration_proxy_docker_image }}" name: "{{ matrix_ldap_registration_proxy_docker_image }}"
state: absent state: absent

View File

@ -48,7 +48,7 @@
matrix_ma1sd_requires_restart: true matrix_ma1sd_requires_restart: true
- name: Ensure ma1sd image is pulled - name: Ensure ma1sd image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_ma1sd_docker_image }}" name: "{{ matrix_ma1sd_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_ma1sd_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_ma1sd_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -75,7 +75,7 @@
when: ansible_os_family == 'RedHat' when: ansible_os_family == 'RedHat'
- name: Ensure gradle is installed for self-building (Archlinux) - name: Ensure gradle is installed for self-building (Archlinux)
pacman: community.general.pacman:
name: name:
- gradle - gradle
state: present state: present
@ -101,7 +101,7 @@
when: matrix_ma1sd_git_pull_results.changed when: matrix_ma1sd_git_pull_results.changed
- name: Ensure ma1sd Docker image is tagged correctly - name: Ensure ma1sd Docker image is tagged correctly
docker_image: community.docker.docker_image:
# The build script always tags the image with 2 tags: # The build script always tags the image with 2 tags:
# - based on the branch/version: e.g. `ma1uta/ma1sd:2.4.0` (when on `2.4.0`) # - based on the branch/version: e.g. `ma1uta/ma1sd:2.4.0` (when on `2.4.0`)
# or `ma1uta/ma1sd:2.4.0-19-ga71d32b` (when on a given commit for a pre-release) # or `ma1uta/ma1sd:2.4.0-19-ga71d32b` (when on a given commit for a pre-release)

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure ma1sd Docker image doesn't exist - name: Ensure ma1sd Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_ma1sd_docker_image }}" name: "{{ matrix_ma1sd_docker_image }}"
state: absent state: absent

View File

@ -35,7 +35,7 @@
when: "matrix_mailer_enabled | bool and matrix_mailer_container_image_self_build | bool" when: "matrix_mailer_enabled | bool and matrix_mailer_container_image_self_build | bool"
- name: Ensure exim-relay Docker image is built - name: Ensure exim-relay Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_mailer_docker_image }}" name: "{{ matrix_mailer_docker_image }}"
source: build source: build
force_source: "{{ matrix_mailer_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mailer_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -47,7 +47,7 @@
when: "matrix_mailer_enabled | bool and matrix_mailer_container_image_self_build | bool" when: "matrix_mailer_enabled | bool and matrix_mailer_container_image_self_build | bool"
- name: Ensure exim-relay image is pulled - name: Ensure exim-relay image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_mailer_docker_image }}" name: "{{ matrix_mailer_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_mailer_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_mailer_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -108,7 +108,7 @@
when: "not matrix_mailer_enabled | bool" when: "not matrix_mailer_enabled | bool"
- name: Ensure mailer Docker image doesn't exist - name: Ensure mailer Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_mailer_docker_image }}" name: "{{ matrix_mailer_docker_image }}"
state: absent state: absent
when: "not matrix_mailer_enabled | bool" when: "not matrix_mailer_enabled | bool"

View File

@ -18,7 +18,7 @@
- when: matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_username != '' - when: matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_username != ''
block: block:
- name: Ensure Apache Docker image is pulled for generating matrix-metrics-htpasswd from username/password (protecting /metrics/* URIs) - name: Ensure Apache Docker image is pulled for generating matrix-metrics-htpasswd from username/password (protecting /metrics/* URIs)
docker_image: community.docker.docker_image:
name: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_image }}" name: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_nginx_proxy_proxy_matrix_metrics_basic_auth_apache_container_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -193,7 +193,7 @@
# Tasks related to setting up matrix-nginx-proxy # Tasks related to setting up matrix-nginx-proxy
# #
- name: Ensure nginx Docker image is pulled - name: Ensure nginx Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_nginx_proxy_docker_image }}" name: "{{ matrix_nginx_proxy_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_nginx_proxy_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_nginx_proxy_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -22,7 +22,7 @@
ansible.builtin.import_tasks: "{{ role_path }}/tasks/ssl/purge_ssl_lets_encrypt_orphaned_configs.yml" ansible.builtin.import_tasks: "{{ role_path }}/tasks/ssl/purge_ssl_lets_encrypt_orphaned_configs.yml"
- name: Ensure certbot Docker image is pulled - name: Ensure certbot Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_ssl_lets_encrypt_certbot_docker_image }}" name: "{{ matrix_ssl_lets_encrypt_certbot_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_ssl_lets_encrypt_certbot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_ssl_lets_encrypt_certbot_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure matrix-ntfy image is pulled - name: Ensure matrix-ntfy image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_ntfy_docker_image }}" name: "{{ matrix_ntfy_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_ntfy_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_ntfy_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure ntfy Docker image doesn't exist - name: Ensure ntfy Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_ntfy_docker_image }}" name: "{{ matrix_ntfy_docker_image }}"
state: absent state: absent

View File

@ -17,7 +17,7 @@
when: matrix_postgres_backup_enabled | bool when: matrix_postgres_backup_enabled | bool
- name: Ensure postgres backup Docker image is pulled - name: Ensure postgres backup Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_postgres_backup_docker_image_to_use }}" name: "{{ matrix_postgres_backup_docker_image_to_use }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_postgres_backup_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_postgres_backup_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -61,7 +61,7 @@
replace: 'FROM debian:bullseye-slim' replace: 'FROM debian:bullseye-slim'
- name: Ensure pgloader Docker image is built - name: Ensure pgloader Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_postgres_pgloader_docker_image }}" name: "{{ matrix_postgres_pgloader_docker_image }}"
source: build source: build
force_source: "{{ matrix_postgres_pgloader_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_postgres_pgloader_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -72,7 +72,7 @@
pull: true pull: true
- name: Ensure pgloader Docker image is pulled - name: Ensure pgloader Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_postgres_pgloader_docker_image }}" name: "{{ matrix_postgres_pgloader_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_postgres_pgloader_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_postgres_pgloader_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -37,7 +37,7 @@
# Even if we don't run the internal server, we still need this for running the CLI # Even if we don't run the internal server, we still need this for running the CLI
- name: Ensure postgres Docker image is pulled - name: Ensure postgres Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_postgres_docker_image_to_use }}" name: "{{ matrix_postgres_docker_image_to_use }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_postgres_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_postgres_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -5,7 +5,7 @@
# #
- name: Ensure matrix-prometheus-node-exporter image is pulled - name: Ensure matrix-prometheus-node-exporter image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_prometheus_node_exporter_docker_image }}" name: "{{ matrix_prometheus_node_exporter_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_prometheus_node_exporter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_prometheus_node_exporter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -5,7 +5,7 @@
# #
- name: Ensure matrix-prometheus-postgres-exporter image is pulled - name: Ensure matrix-prometheus-postgres-exporter image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_prometheus_postgres_exporter_docker_image }}" name: "{{ matrix_prometheus_postgres_exporter_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_prometheus_postgres_exporter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_prometheus_postgres_exporter_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure matrix-prometheus image is pulled - name: Ensure matrix-prometheus image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_prometheus_docker_image }}" name: "{{ matrix_prometheus_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_prometheus_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_prometheus_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -5,7 +5,7 @@
# #
- name: Ensure redis Docker image is pulled - name: Ensure redis Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_redis_docker_image_to_use }}" name: "{{ matrix_redis_docker_image_to_use }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_redis_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_redis_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -48,7 +48,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Ensure matrix-registration image is pulled - name: Ensure matrix-registration image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_registration_docker_image }}" name: "{{ matrix_registration_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_registration_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_registration_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -79,7 +79,7 @@
when: "matrix_registration_container_image_self_build | bool and matrix_registration_container_image_self_build_python_dependencies_patch_enabled | bool" when: "matrix_registration_container_image_self_build | bool and matrix_registration_container_image_self_build_python_dependencies_patch_enabled | bool"
- name: Ensure matrix-registration Docker image is built - name: Ensure matrix-registration Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_registration_docker_image }}" name: "{{ matrix_registration_docker_image }}"
source: build source: build
force_source: "{{ matrix_registration_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_registration_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -26,6 +26,6 @@
when: "matrix_registration_service_stat.stat.exists | bool" when: "matrix_registration_service_stat.stat.exists | bool"
- name: Ensure matrix-registration Docker image doesn't exist - name: Ensure matrix-registration Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_registration_docker_image }}" name: "{{ matrix_registration_docker_image }}"
state: absent state: absent

View File

@ -1,7 +1,7 @@
--- ---
- name: Ensure Sygnal image is pulled - name: Ensure Sygnal image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_sygnal_docker_image }}" name: "{{ matrix_sygnal_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_sygnal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_sygnal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Sygnal Docker image doesn't exist - name: Ensure Sygnal Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_sygnal_docker_image }}" name: "{{ matrix_sygnal_docker_image }}"
state: absent state: absent

View File

@ -5,7 +5,7 @@
# #
- name: Ensure matrix-synapse-admin image is pulled - name: Ensure matrix-synapse-admin image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_synapse_admin_docker_image }}" name: "{{ matrix_synapse_admin_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_synapse_admin_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_synapse_admin_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -28,7 +28,7 @@
when: "matrix_synapse_admin_enabled | bool and matrix_synapse_admin_container_image_self_build | bool" when: "matrix_synapse_admin_enabled | bool and matrix_synapse_admin_container_image_self_build | bool"
- name: Ensure matrix-synapse-admin Docker image is built - name: Ensure matrix-synapse-admin Docker image is built
docker_image: community.docker.docker_image:
name: "{{ matrix_synapse_admin_docker_image }}" name: "{{ matrix_synapse_admin_docker_image }}"
source: build source: build
force_source: "{{ matrix_synapse_admin_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_synapse_admin_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -82,7 +82,7 @@
when: "not matrix_synapse_admin_enabled | bool and matrix_synapse_admin_service_stat.stat.exists" when: "not matrix_synapse_admin_enabled | bool and matrix_synapse_admin_service_stat.stat.exists"
- name: Ensure matrix-synapse-admin Docker image doesn't exist - name: Ensure matrix-synapse-admin Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_synapse_admin_docker_image }}" name: "{{ matrix_synapse_admin_docker_image }}"
state: absent state: absent
when: "not matrix_synapse_admin_enabled | bool" when: "not matrix_synapse_admin_enabled | bool"

View File

@ -17,7 +17,7 @@
when: "ansible_os_family == 'Debian'" when: "ansible_os_family == 'Debian'"
- name: Ensure git installed (Archlinux) - name: Ensure git installed (Archlinux)
pacman: community.general.pacman:
name: name:
- git - git
state: present state: present

View File

@ -22,7 +22,7 @@
when: "ansible_os_family == 'Debian'" when: "ansible_os_family == 'Debian'"
- name: Ensure git installed (Archlinux) - name: Ensure git installed (Archlinux)
pacman: community.general.pacman:
name: name:
- git - git
state: present state: present

View File

@ -3,7 +3,7 @@
- ansible.builtin.import_tasks: "{{ role_path }}/../matrix-base/tasks/util/ensure_fuse_installed.yml" - ansible.builtin.import_tasks: "{{ role_path }}/../matrix-base/tasks/util/ensure_fuse_installed.yml"
- name: Ensure Goofys Docker image is pulled - name: Ensure Goofys Docker image is pulled
docker_image: community.docker.docker_image:
name: "{{ matrix_s3_goofys_docker_image }}" name: "{{ matrix_s3_goofys_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}" source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_s3_goofys_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}" force_source: "{{ matrix_s3_goofys_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -31,6 +31,6 @@
state: absent state: absent
- name: Ensure Goofys Docker image doesn't exist - name: Ensure Goofys Docker image doesn't exist
docker_image: community.docker.docker_image:
name: "{{ matrix_s3_goofys_docker_image }}" name: "{{ matrix_s3_goofys_docker_image }}"
state: absent state: absent

View File

@ -51,7 +51,7 @@
# This can only work with local files, not if the media store is on Amazon S3, # This can only work with local files, not if the media store is on Amazon S3,
# as it won't be accessible in such a case. # as it won't be accessible in such a case.
- name: Ensure provided media store directory is synchronized - name: Ensure provided media store directory is synchronized
synchronize: ansible.builtin.synchronize:
src: "{{ server_path_media_store }}/" src: "{{ server_path_media_store }}/"
dest: "{{ matrix_synapse_media_store_path }}" dest: "{{ matrix_synapse_media_store_path }}"
delete: true delete: true

Some files were not shown because too many files have changed in this diff Show More