Skip to content

Commit 27fad4b

Browse files
committed
Merge pull request #22 from panli889/master
check new webrouter works well before deploying other apps
2 parents 3c168af + 27c195a commit 27fad4b

File tree

1 file changed

+8
-0
lines changed
  • playbooks/roles/bootstrap-webrouter-stop/tasks

1 file changed

+8
-0
lines changed

playbooks/roles/bootstrap-webrouter-stop/tasks/main.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@
1515

1616
- name: remove registry.DOMAIN
1717
set_dnsmasq_domain: domain="registry.{{ domain }}" record=""
18+
19+
- name: check new webrouter works well
20+
shell: "curl -s registry.lain/v2/"
21+
register: result
22+
until: result|success
23+
retries: 5
24+
delay: 5
25+
changed_when: False

0 commit comments

Comments
 (0)