blob: d66741aab31cfa6edf2e2833782996c3acdbaaa3 [file] [log] [blame]
Matteo Scandolo3896c472017-08-01 13:31:42 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Andy Bavier12262e72016-12-02 11:36:57 -050017---
Zack Williamsa2763112017-01-03 11:38:38 -070018# deploy-openstack-playbook.yml
Andy Bavier12262e72016-12-02 11:36:57 -050019# Deploys OpenStack in LXD containers on the CORD head node
20
Zack Williams5223dd92017-02-28 23:38:02 -070021- name: Create LXD containers
Andy Bavier12262e72016-12-02 11:36:57 -050022 hosts: head
Zack Williams5223dd92017-02-28 23:38:02 -070023 become: yes
Andy Bavier12262e72016-12-02 11:36:57 -050024 roles:
Andy Bavier12262e72016-12-02 11:36:57 -050025 - create-lxd
26
Zack Williams5223dd92017-02-28 23:38:02 -070027- name: Finish container configuration
28 hosts: head
29 roles:
30 - lxd-finish
31
32- name: Juju OpenStack install
Andy Bavier12262e72016-12-02 11:36:57 -050033 hosts: head
34 roles:
35 - juju-setup
Andy Bavier12262e72016-12-02 11:36:57 -050036 - juju-finish
Zack Williams5223dd92017-02-28 23:38:02 -070037
Saikrishna68619402017-07-18 21:02:40 -040038- name: Configure Nova with DPDK-enabled flavors
39 hosts: head
40 roles:
Zack Williamsa88041c2017-09-13 10:11:55 -070041 - { role: setup-nova-dpdk, when: use_dpdk | default(False) }