mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-25 18:38:30 +01:00
Force-pull Slack Docker image if :latest
This commit is contained in:
parent
a1b9fbe091
commit
a6d51ebe9b
@ -4,6 +4,7 @@
|
|||||||
matrix_appservice_slack_enabled: true
|
matrix_appservice_slack_enabled: true
|
||||||
|
|
||||||
matrix_appservice_slack_docker_image: "cadair/matrix-appservice-slack:latest"
|
matrix_appservice_slack_docker_image: "cadair/matrix-appservice-slack:latest"
|
||||||
|
matrix_appservice_slack_docker_image_force_pull: "{{ matrix_appservice_slack_docker_image.endswith(':latest') }}"
|
||||||
|
|
||||||
matrix_appservice_slack_base_path: "{{ matrix_base_data_path }}/appservice-slack"
|
matrix_appservice_slack_base_path: "{{ matrix_base_data_path }}/appservice-slack"
|
||||||
matrix_appservice_slack_config_path: "{{ matrix_appservice_slack_base_path }}/config"
|
matrix_appservice_slack_config_path: "{{ matrix_appservice_slack_base_path }}/config"
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
docker_image:
|
docker_image:
|
||||||
name: "{{ matrix_appservice_slack_docker_image }}"
|
name: "{{ matrix_appservice_slack_docker_image }}"
|
||||||
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: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_appservice_slack_docker_image_force_pull }}"
|
||||||
|
|
||||||
- name: Ensure AppService Slack paths exist
|
- name: Ensure AppService Slack paths exist
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user