From 45340d673726c7d0b5959d6033c97c4d7ca986d2 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 21 Aug 2022 22:30:20 +0300 Subject: [PATCH] renew-certs: Update container names. Docker Compose changed the names of the containers a while back, update the names in the playbook as well. --- Ansible/renew-certs.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Ansible/renew-certs.yaml b/Ansible/renew-certs.yaml index 2e76469..a07c9c1 100644 --- a/Ansible/renew-certs.yaml +++ b/Ansible/renew-certs.yaml @@ -6,23 +6,23 @@ handlers: - name: Restart Nginx on host01 delegate_to: host01 - command: docker restart web-proxy_proxy_1 + command: docker restart web-proxy-proxy-1 - name: Restart Nginx on ns4 delegate_to: ns4 - command: docker restart web-proxy_proxy_1 + command: docker restart web-proxy-proxy-1 - name: Restart Nginx on kodi delegate_to: kodi - command: docker restart web-proxy_proxy_1 + command: docker restart web-proxy-proxy-1 - name: Reload Exim delegate_to: host01 - command: docker kill --signal SIGHUP mail_smtp_1 + command: docker kill --signal SIGHUP mail-smtp-1 - name: Reload Dovecot delegate_to: host01 - command: docker kill --signal SIGHUP mail_imap_1 + command: docker kill --signal SIGHUP mail-imap-1 tasks: - name: Issue certificate for ns4 -- GitLab