mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-28 23:51:23 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
19
tests/integration/targets/prepare_nuage_tests/tasks/main.yml
Normal file
19
tests/integration/targets/prepare_nuage_tests/tasks/main.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
- 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