| # platform-check/tasks/main.yml |
| - name: Ensure br-int exists on all compute nodes (check VTN) |
| shell: ansible -i /etc/maas/ansible/pod-inventory compute -u ubuntu -m shell -s -a "ovs-vsctl br-exists br-int" |
| - skip_ansible_lint # running a sub job |
| # Work around issues with ONOS intialization |
| - name: Restart ONOS when VTN initialization failed |
| shell: docker-compose stop; docker-compose rm -f; docker-compose up -d |
| chdir: "{{ onos_cord_dest }}" |
| - name: Tell XOS to refresh VTN configuration |
| chdir: "{{ service_profile_repo_dest }}/{{ xos_configuration }}" |
| - name: Ensure br-int exists on all compute nodes (check VTN #2) |
| shell: ansible -i /etc/maas/ansible/pod-inventory compute -u ubuntu -m shell -s -a "ovs-vsctl br-exists br-int" |
| - skip_ansible_lint # running a sub job |