diff --git a/roles/role_deploy_registry/tasks/main.yml b/roles/role_deploy_registry/tasks/main.yml index 9a72f0c..fed72af 100644 --- a/roles/role_deploy_registry/tasks/main.yml +++ b/roles/role_deploy_registry/tasks/main.yml @@ -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