|
|
@ -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:
|
|
|
@ -43,4 +45,4 @@
|
|
|
|
- name: Ensure systemd reloaded after matrix-appservice-slack.service installation
|
|
|
|
- name: Ensure systemd reloaded after matrix-appservice-slack.service installation
|
|
|
|
service:
|
|
|
|
service:
|
|
|
|
daemon_reload: yes
|
|
|
|
daemon_reload: yes
|
|
|
|
when: "matrix_appservice_slack_systemd_service_result.changed"
|
|
|
|
when: "matrix_appservice_slack_systemd_service_result.changed"
|
|
|
|