Reload reverse-proxy configuration when registry container has been restarted instead of restarting the whole container.
This commit is contained in:
parent
6aa53bb7ad
commit
26b35467ec
@ -135,10 +135,10 @@
|
||||
|
||||
# Workaround to prevent unexplained 503 error from reverse-proxy
|
||||
# after registry container restart
|
||||
- name: Restart reverse-proxy container service
|
||||
ansible.builtin.systemd:
|
||||
name: container-reverse-proxy
|
||||
state: restarted
|
||||
- name: Reload reverse-proxy configuration
|
||||
containers.podman.podman_container_exec:
|
||||
name: reverse-proxy
|
||||
command: 'sh -c ''service apache2 reload'''
|
||||
become: true
|
||||
|
||||
- name: Add cloud.{{ DOMAIN }} to /etc/hosts
|
||||
|
Loading…
Reference in New Issue
Block a user