|
|
|
@ -71,11 +71,12 @@
|
|
|
|
|
register: matrix_appservice_irc_git_pull_results
|
|
|
|
|
when: "matrix_appservice_irc_enabled|bool and matrix_appservice_irc_container_self_build|bool"
|
|
|
|
|
|
|
|
|
|
- name: Ensure matrix-appservice-irc Docker image is build
|
|
|
|
|
- name: Ensure matrix-appservice-irc Docker image is built
|
|
|
|
|
docker_image:
|
|
|
|
|
name: "{{ matrix_appservice_irc_docker_image }}"
|
|
|
|
|
source: build
|
|
|
|
|
force_source: yes
|
|
|
|
|
force_source: "{{ matrix_appservice_irc_git_pull_results.changed if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
|
|
|
|
|
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_appservice_irc_git_pull_results.changed }}"
|
|
|
|
|
build:
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
path: "{{ matrix_appservice_irc_docker_src_files_path }}"
|
|
|
|
|