| - name: Check XOS VROUTER Synchronizer Process |
| shell: ps -f | grep "python vrouter-synchronizer.py -C /opt/xos/synchronizers/vrouter/vrouter_config" |
| - skip_ansible_lint # running a sub job |
| - name: Get Volume Mounts on XOS VROUTER Synchronizer Container |
| shell: mount -l | grep xos_services |
| - skip_ansible_lint # running a sub job |
| - name: Validate Volume Mounts on XOS VROUTER Synchronizer Container |
| that: "'/opt/xos_services/{{ item.name }}' in volumes.stdout|lower" |
| with_items: "{{ xos_services }}" |
| - "'{{ item.name }}' != 'vnodlocal'" |
| - "'{{ item.name }}' != 'volt'" |