mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-05-20 21:08:01 +00:00
matrix-ldap-registration-proxy: switch to modern community.docker docker_image modules
Replaces `community.docker.docker_image` with the modern `docker_image_build` module. Drops the `ansible_version` compatibility ladder. Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/5191. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -31,14 +31,12 @@
|
|||||||
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
|
||||||
community.docker.docker_image:
|
community.docker.docker_image_build:
|
||||||
name: "{{ matrix_ldap_registration_proxy_container_image }}"
|
name: "{{ matrix_ldap_registration_proxy_container_image }}"
|
||||||
source: build
|
dockerfile: Dockerfile
|
||||||
force_source: "{{ matrix_ldap_registration_proxy_git_pull_results.changed }}"
|
path: "{{ matrix_ldap_registration_proxy_container_src_files_path }}"
|
||||||
build:
|
pull: true
|
||||||
dockerfile: Dockerfile
|
rebuild: "{{ 'always' if matrix_ldap_registration_proxy_git_pull_results.changed | bool else 'never' }}"
|
||||||
path: "{{ matrix_ldap_registration_proxy_container_src_files_path }}"
|
|
||||||
pull: true
|
|
||||||
when: true
|
when: true
|
||||||
register: matrix_ldap_registration_proxy_container_image_build_result
|
register: matrix_ldap_registration_proxy_container_image_build_result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user