Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 1 | --- |
| 2 | # compute-node-enable/tasks/main.yml |
| 3 | |
| 4 | - name: Load TOSCA to add OpenStack compute nodes |
| 5 | command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/openstack-compute.yaml" |
| 6 | tags: |
| 7 | - skip_ansible_lint # TOSCA loading should be idempotent |
| 8 | |
| 9 | - name: Pause to work around race in VTN or ONOS synchronizers |
| 10 | pause: |
| 11 | seconds: 20 |
| 12 | |
| 13 | - name: Load TOSCA to enable VTN on OpenStack compute nodes |
| 14 | command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/openstack-compute-vtn.yaml" |
| 15 | tags: |
| 16 | - skip_ansible_lint # TOSCA loading should be idempotent |
| 17 | |