summaryrefslogtreecommitdiff
path: root/playbooks/quick-start/main.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/quick-start/main.yaml')
-rw-r--r--playbooks/quick-start/main.yaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/playbooks/quick-start/main.yaml b/playbooks/quick-start/main.yaml
index 25368995c..de8177eb3 100644
--- a/playbooks/quick-start/main.yaml
+++ b/playbooks/quick-start/main.yaml
@@ -44,10 +44,18 @@
name: Example User
ssh_key: "{{ ssh_public_key }}"
http_password: secret
-# TODO(corvus): Fix this for real
-- name: Wait for Zuul to start
- pause:
- minutes: 1
+- name: Wait for zuul
+ uri:
+ url: http://localhost:9000/api/tenant/example-tenant/status
+ method: GET
+ return_content: true
+ status_code: 200
+ body_format: json
+ register: result
+ retries: 30
+ delay: 10
+ until: result.status == 200 and result.json["zuul_version"] is defined
+ changed_when: false
- name: Clone zuul-config
git:
repo: http://localhost:8080/zuul-config