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 |
Zack Williams | 2478b30 | 2017-02-14 10:42:55 -0700 | [diff] [blame] | 5 | command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/{{ item }}" |
| 6 | with_items: |
| 7 | - openstack.yaml |
| 8 | - openstack-compute.yaml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 9 | tags: |
| 10 | - skip_ansible_lint # TOSCA loading should be idempotent |
| 11 | |
| 12 | - name: Pause to work around race in VTN or ONOS synchronizers |
| 13 | pause: |
| 14 | seconds: 20 |
| 15 | |
| 16 | - name: Load TOSCA to enable VTN on OpenStack compute nodes |
Zack Williams | 2478b30 | 2017-02-14 10:42:55 -0700 | [diff] [blame] | 17 | command: "python /opt/xos/tosca/run.py {{ xos_admin_user }} {{ cord_profile_dir }}/{{ item }}" |
| 18 | with_items: |
| 19 | - vtn-service.yaml |
| 20 | - openstack-compute-vtn.yaml |
Zack Williams | a276311 | 2017-01-03 11:38:38 -0700 | [diff] [blame] | 21 | tags: |
| 22 | - skip_ansible_lint # TOSCA loading should be idempotent |
| 23 | |