blob: feaba0d68b7f662a217a4cadb0b72eb00bf5a3c5 [file] [log] [blame]
#xos-vtr-sync tests
- name: Check XOS VTR Synchronizer Process
shell: ps -f | grep "python vtr-synchronizer.py -C /opt/xos/synchronizers/vtr/vtr_synchronizer_config"
register: result
until: result | success
retries: 10
delay: 5
tags:
- skip_ansible_lint # running a sub job
- name: Get Volume Mounts on XOS VTR Synchronizer Container
shell: mount -l | grep xos_services
register: volumes
tags:
- skip_ansible_lint # running a sub job
- name: Validate Volume Mounts on XOS VTR Synchronizer Container
assert:
that: "'/opt/xos_services/{{ item.name }}' in volumes.stdout|lower"
with_items: "{{ xos_services }}"
when:
- "'{{ item.name }}' != 'vnodlocal'"
- "'{{ item.name }}' != 'volt'"