You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/nuage_vspk/tasks/main.yml

20 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', '>=')"