| # compute-node-enable-maas/tasks/main.yml |
| - name: Fetch generated nodes.yaml file |
| src: "{{ cord_profile_dir + '/' + item }}" |
| - openstack-compute-vtn.yaml |
| - name: Load TOSCA to add OpenStack compute nodes, over REST |
| url: "http://xos.{{ site_suffix }}:{{ xos_ui_port }}/api/utility/tosca/run/" |
| user: "{{ xos_admin_user }}" |
| password: "{{ xos_admin_pass }}" |
| recipe: "{{ lookup('file', '/tmp/' + item ) }}" |
| - name: Pause to work around race in VTN or ONOS synchronizers |
| - name: Load TOSCA to enable VTN on OpenStack compute nodes, over REST |
| url: "http://xos.{{ site_suffix }}:{{ xos_ui_port }}/api/utility/tosca/run/" |
| user: "{{ xos_admin_user }}" |
| password: "{{ xos_admin_pass }}" |
| recipe: "{{ lookup('file', '/tmp/' + item ) }}" |
| - openstack-compute-vtn.yaml |