blob: dce692b588d564fccd80f631d7c17e187e571ba8 [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 Williams1396aa32017-06-06 10:28:29 -070018 - { role: onos-fabric-install, when: use_fabric }
19
Zack Williamsa2763112017-01-03 11:38:38 -070020