ansible/test/integration/targets/prepare_nuage_tests/tasks/main.yml

17 lines
355 B
YAML
Raw Normal View History

---
2018-05-07 19:41:48 +02:00
- block:
- name: Install Nuage VSD API Simulator
pip:
name: nuage-vsd-sim
2018-05-07 19:41:48 +02:00
- 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
2018-05-07 19:41:48 +02:00
when: "ansible_python_version is version('2.7', '>=')"