Guest User

Untitled

a guest
Oct 23rd, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. - name: Post Install watcher
  2. hosts: director.0
  3. gather_facts: no
  4. tasks:
  5. - name: Wait for Elastic Cluster to be ready
  6. uri:
  7. url: https://mlaascloudui.{{ lookup('env','ENV') }}.pre.mls.eu.gs.aws.cloud.vwgroup.com/api/v1/clusters/elasticsearch/{{elasticClusterDetails.elasticsea$
  8. method: GET
  9. user: admin
  10. password: "{{rootpw.stdout}}"
  11. force_basic_auth: yes
  12. register: result
  13. until: result['status']|default(0) == 412
  14. retries: 60
  15. delay: 10
  16. - name: Install watcher
Add Comment
Please, Sign In to add comment