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

@ -29,7 +29,7 @@
when: "matrix_corporal_enabled | bool and matrix_corporal_container_image_self_build | bool"
- name: Ensure Matrix Corporal Docker image is built
docker_image:
community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}"
source: build
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"
- name: Ensure Matrix Corporal Docker image is pulled
docker_image:
community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}"
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 }}"
@ -115,7 +115,7 @@
when: "not matrix_corporal_enabled | bool"
- name: Ensure Matrix Corporal Docker image doesn't exist
docker_image:
community.docker.docker_image:
name: "{{ matrix_corporal_docker_image }}"
state: absent
when: "not matrix_corporal_enabled | bool"