Skip to content

Commit

Permalink
Merge pull request #21 from avinetworks/CSP_2.3_wait_for_vnics_master
Browse files Browse the repository at this point in the history
AV-52487 Added wait in create service.
  • Loading branch information
Gaurav Rastogi authored Jan 7, 2019
2 parents 1346040 + f44a92d commit fbb431e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tasks/service_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@
body:
service: "{{ se_csp_service_info }}"
return_content: true
status_code: 200, 201, 409
register: se_csp_service
failed_when: se_csp_service.status != 201
changed_when: se_csp_service.status == 201
until: se_csp_service.status in [200, 201, 409]
retries: 20
delay: 10
changed_when: se_csp_service.status in [200, 201]
delegate_to: localhost

- name: Avi SE | CSP | Service deploy | Verify SE service exists
Expand Down

0 comments on commit fbb431e

Please sign in to comment.