From bdc56b1cafac827c4e3c13f6b45d6198225d27e7 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 28 Oct 2020 13:43:50 +1100 Subject: [PATCH] letsencrypt-install-txt-record: pause after adding TXT records The rdnc reload should notify the child nameservers which will update quickly, but for general sanity pause 1 minute to allow for propagation of the added authentication records before continuing. Change-Id: Ic0f9398e056df77c96824eff8215395947997d82 --- .../roles/letsencrypt-install-txt-record/tasks/main.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml b/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml index c626b5af2a..6494f7f8b8 100644 --- a/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml +++ b/playbooks/roles/letsencrypt-install-txt-record/tasks/main.yaml @@ -33,4 +33,9 @@ - name: Reload domain shell: rndc reload acme.opendev.org - when: acme_txt_keys | length > 0 \ No newline at end of file + + - name: Pause to allow nameserver propagation + pause: + minutes: 1 + + when: acme_txt_keys | length > 0