mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Static deploys should force gunicorn reload.
This commit is contained in:
parent
1a06af95cb
commit
b660ec79fe
1 changed files with 11 additions and 10 deletions
|
@ -126,7 +126,8 @@
|
||||||
register: psaux
|
register: psaux
|
||||||
- name: Reload gunicorn
|
- name: Reload gunicorn
|
||||||
command: "kill -HUP {{ psaux.stdout }}"
|
command: "kill -HUP {{ psaux.stdout }}"
|
||||||
when: not pulled.changed
|
# Only restart if there were no changes to the git repo or the static tag was applied
|
||||||
|
when: not pulled.changed or ansible_tags is search('static')
|
||||||
rescue:
|
rescue:
|
||||||
- name: Restart Docker Container
|
- name: Restart Docker Container
|
||||||
command: "docker restart newsblur_web"
|
command: "docker restart newsblur_web"
|
||||||
|
|
Loading…
Add table
Reference in a new issue