ansible/test/integration/targets/prepare_nuage_tests/tasks/main.yml
Matt Clay 29de0619e8 Fix nuage_vspk integration test:
- Wait for API to be ready.
- Enumerate test cases on controller.
2019-03-25 16:27:38 -07:00

16 lines
355 B
YAML

---
- 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: 10
poll: 0
- name: Wait for API to be ready
wait_for:
port: 5000
when: "ansible_python_version is version('2.7', '>=')"