blob: f746241b8b3c2a8dc467693b7fb1884921b1555e [file] [log] [blame]
Zack Williamsa2763112017-01-03 11:38:38 -07001---
2# compute-node-enable/tasks/main.yml
3
4- name: Load TOSCA to add OpenStack compute nodes
Zack Williams2478b302017-02-14 10:42:55 -07005 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 Williamsa2763112017-01-03 11:38:38 -07009 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 Williams2478b302017-02-14 10:42:55 -070017 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 Williamsa2763112017-01-03 11:38:38 -070021 tags:
22 - skip_ansible_lint # TOSCA loading should be idempotent
23