blob: 5f3557c0dd3758031f0d681558e2ce125a6a8a53 [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
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