mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 04:34:00 +00:00
Do not pull appservice-slack when self-building
This commit is contained in:
parent
a66a604e53
commit
862a6276a0
@ -37,6 +37,7 @@
|
|||||||
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 }}"
|
||||||
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_appservice_slack_docker_image_force_pull }}"
|
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_appservice_slack_docker_image_force_pull }}"
|
||||||
|
when: "not matrix_appservice_slack_container_self_build|bool"
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-slack repository is present when self-building
|
- name: Ensure matrix-appservice-slack repository is present when self-building
|
||||||
git:
|
git:
|
||||||
@ -46,7 +47,7 @@
|
|||||||
register: matrix_appservice_slack_git_pull_results
|
register: matrix_appservice_slack_git_pull_results
|
||||||
when: "matrix_appservice_slack_container_self_build|bool"
|
when: "matrix_appservice_slack_container_self_build|bool"
|
||||||
|
|
||||||
- name: Ensure matrix-appservice-slack Docker image is build
|
- name: Ensure matrix-appservice-slack Docker image is built
|
||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ matrix_appservice_slack_docker_image }}"
|
name: "{{ matrix_appservice_slack_docker_image }}"
|
||||||
source: build
|
source: build
|
||||||
|
Loading…
Reference in New Issue
Block a user