Skip to content

Instantly share code, notes, and snippets.

@amiorin

amiorin/site.yml Secret

Created January 31, 2014 11:20
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save amiorin/f566f25638d6289231eb to your computer and use it in GitHub Desktop.
Save amiorin/f566f25638d6289231eb to your computer and use it in GitHub Desktop.
- name: Wait for prm and nginx to kick in
wait_for: port=80 delay=5
- name: Check if root page contains `dists` string
uri: url=http://localhost return_content=true
register: response
failed_when: "'dists' not in response.content"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment