blob: 386ede73c17e599de3848bff823ad305aa05c302 [file] [log] [blame]
#xos-fabric-sync tests
- name: Check XOS Fabric Synchronizer Process
shell: ps -f | grep "python fabric-synchronizer.py -C /opt/xos/synchronizers/fabric/fabric_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 Fabric Synchronizer Container
shell: mount -l | grep xos_services
register: volumes
tags:
- skip_ansible_lint # running a sub job
- name: Validate Volume Mounts on XOS Fabric Synchronizer Container
assert:
that: "'/opt/xos_services/{{ item.name }}' in volumes.stdout|lower"
with_items: "{{ xos_services }}"
when:
- "'{{ item.name }}' != 'vnodlocal'"
- "'{{ item.name }}' != 'volt'"