Merge "Explicitly down Jitsi-Meet containers on upgrade"
This commit is contained in:
commit
8fc9da4578
@ -84,10 +84,18 @@
|
||||
shell:
|
||||
cmd: docker-compose pull
|
||||
chdir: /etc/jitsi-meet-docker/
|
||||
- name: Run docker-compose up
|
||||
shell:
|
||||
cmd: docker-compose up -d
|
||||
chdir: /etc/jitsi-meet-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
register: docker_compose_pull
|
||||
- name: Stop/Start containers if needed
|
||||
when: "'downloaded newer image' in docker_compose_pull.stderr"
|
||||
block:
|
||||
- name: Run docker-compose down
|
||||
shell:
|
||||
cmd: docker-compose down
|
||||
chdir: /etc/jitsi-meet-docker/
|
||||
- name: Run docker-compose up
|
||||
shell:
|
||||
cmd: docker-compose up -d
|
||||
chdir: /etc/jitsi-meet-docker/
|
||||
- name: Run docker prune to cleanup unneeded images
|
||||
shell:
|
||||
cmd: docker image prune -f
|
||||
|
Loading…
Reference in New Issue
Block a user