1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/tests/integration/targets/nuage_vspk/tasks/main.yml
Ansible Core Team aebc1b03fd Initial commit
2020-03-09 09:11:07 +00:00

19 lines
536 B
YAML

- block:
- name: run test case
include: "{{ test_case_to_run }}"
with_fileglob: tests/{{ testcase }}.yaml
loop_control:
loop_var: test_case_to_run
always:
- name: Get nuage-vsd-sim pid
shell: ps -A | grep '[n]'uage-vsd-sim | cut -d ' ' -f 1
register: vsim_pid
changed_when: no
ignore_errors: yes
- name: Stop-nuage-vsd-sim
command: kill {{ vsim_pid.stdout }}
changed_when: no
ignore_errors: yes
when: "ansible_python_version is version('2.7', '>=')"