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
|
# Workaround to prevent unexplained 503 error from reverse-proxy
|
||||||
# after registry container restart
|
# after registry container restart
|
||||||
- name: Restart reverse-proxy container service
|
- name: Reload reverse-proxy configuration
|
||||||
ansible.builtin.systemd:
|
containers.podman.podman_container_exec:
|
||||||
name: container-reverse-proxy
|
name: reverse-proxy
|
||||||
state: restarted
|
command: 'sh -c ''service apache2 reload'''
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Add cloud.{{ DOMAIN }} to /etc/hosts
|
- name: Add cloud.{{ DOMAIN }} to /etc/hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user