Fix retry of netchecker status

Change-Id: I8e7dace4e7c5ad8330c0f67745dab77482603d1d
This commit is contained in:
Matthew Mosesohn 2017-01-20 18:32:56 +03:00
parent 3490a01dbf
commit 06666a2277
1 changed files with 3 additions and 1 deletions

View File

@ -44,7 +44,9 @@
become: no
- name: Check netchecker status
uri: url=http://localhost:31081/api/v1/connectivity_check status_code=200
uri: url=http://localhost:31081/api/v1/connectivity_check
register: netchecker_status
until: netchecker_status.status == 200
retries: 6
delay: 20
delegate_to: "{{groups['kube-node'][0]}}"