blob: 9b94d070228a8a66f9a7ae6726fd9b67eb55ac29 [file] [log] [blame]
Andy Bavier12262e72016-12-02 11:36:57 -05001---
Zack Williamsa2763112017-01-03 11:38:38 -07002# deploy-onos-playbook.yml
Andy Bavier12262e72016-12-02 11:36:57 -05003# Deploys ONOS in Docker containers on the CORD head node
4
5- name: Include vars
Zack Williams1396aa32017-06-06 10:28:29 -07006 hosts: head
Andy Bavier12262e72016-12-02 11:36:57 -05007 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
Zack Williamsa2763112017-01-03 11:38:38 -070011 - "profile_manifests/{{ cord_profile }}.yml"
12 - profile_manifests/local_vars.yml
Andy Bavier12262e72016-12-02 11:36:57 -050013
14- name: Deploy and start ONOS containers
15 hosts: head
16 roles:
17 - onos-cord-install
Zack Williams79286962017-07-10 12:24:37 -070018 - { role: onos-fabric-install, when: use_fabric | default(False) }
19
Zack Williams1396aa32017-06-06 10:28:29 -070020
Zack Williamsa2763112017-01-03 11:38:38 -070021