mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
(cherry picked from commit 452a185a23
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
b25e0f360c
commit
43e766dd44
1 changed files with 0 additions and 24 deletions
|
@ -1,24 +0,0 @@
|
||||||
####################################################################
|
|
||||||
# WARNING: These are designed specifically for Ansible tests #
|
|
||||||
# and should not be used as examples of how to write Ansible roles #
|
|
||||||
####################################################################
|
|
||||||
|
|
||||||
- block:
|
|
||||||
- name: Install Nuage VSD API Simulator
|
|
||||||
pip:
|
|
||||||
name: nuage-vsd-sim
|
|
||||||
|
|
||||||
- name: Start Nuage VSD API Simulator
|
|
||||||
shell: "(cd /; nuage-vsd-sim >/dev/null 2>&1)"
|
|
||||||
async: 1800
|
|
||||||
poll: 0
|
|
||||||
|
|
||||||
- name: Wait for API to be ready
|
|
||||||
uri:
|
|
||||||
url: http://localhost:5000
|
|
||||||
register: api
|
|
||||||
delay: 3
|
|
||||||
retries: 10
|
|
||||||
until: api.status == 200
|
|
||||||
|
|
||||||
when: "ansible_python_version is version('2.7', '>=')"
|
|
Loading…
Add table
Add a link
Reference in a new issue