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

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

View File

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

View File

@ -3,7 +3,7 @@
- ansible.builtin.import_tasks: "{{ role_path }}/../matrix-base/tasks/util/ensure_fuse_installed.yml"
- name: Ensure Goofys Docker image is pulled
docker_image:
community.docker.docker_image:
name: "{{ matrix_s3_goofys_docker_image }}"
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 }}"

View File

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

View File

@ -51,7 +51,7 @@
# 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.
- name: Ensure provided media store directory is synchronized
synchronize:
ansible.builtin.synchronize:
src: "{{ server_path_media_store }}/"
dest: "{{ matrix_synapse_media_store_path }}"
delete: true

View File

@ -43,7 +43,7 @@
group: "{{ matrix_user_groupname }}"
- name: Ensure rust-synapse-compress-state image is pulled
docker_image:
community.docker.docker_image:
name: "{{ matrix_synapse_rust_synapse_compress_state_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_synapse_rust_synapse_compress_state_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"

View File

@ -51,7 +51,7 @@
when: "matrix_synapse_git_pull_results.changed | bool or matrix_synapse_docker_image_check_result.stdout == ''"
- name: Ensure Synapse Docker image is pulled
docker_image:
community.docker.docker_image:
name: "{{ matrix_synapse_docker_image }}"
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
force_source: "{{ matrix_synapse_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
@ -73,7 +73,7 @@
mode: 0640
- name: Ensure customized Docker image for Synapse is built
docker_image:
community.docker.docker_image:
name: "{{ matrix_synapse_docker_image_customized }}"
source: build
build:

View File

@ -26,7 +26,7 @@
when: "matrix_synapse_service_stat.stat.exists"
- name: Ensure Synapse Docker image doesn't exist
docker_image:
community.docker.docker_image:
name: "{{ item }}"
state: absent
with_items: