blob: ed1f648474f7f2fdecec493b9578065e5e47b413 [file] [log] [blame]
Zack Williamsef434f82016-04-07 17:15:39 -07001---
Zack Williamsd2cbe512016-06-03 09:33:15 -07002# Installs the single node cord-pod XOS configuration, using Juju to provision
3# the OpenStack installation inside of VM's on the head node.
4#
5# This is used by `scripts/single-node-pod.sh` for E2E testing.
Zack Williamsef434f82016-04-07 17:15:39 -07006
Zack Williams22332942016-05-20 12:40:58 -07007- name: Include vars
Zack Williams89412832016-06-27 21:17:01 -07008 hosts: head
Zack Williamsef434f82016-04-07 17:15:39 -07009 tasks:
Andy Bavier3a1d0642016-07-01 14:11:39 -040010 - include_vars: vars/cord_single_defaults.yml
Zack Williamsef434f82016-04-07 17:15:39 -070011 - include_vars: vars/cord.yml
Andy Bavier1b8a5372016-07-07 19:36:21 -040012 - include_vars: vars/example_keystone.yml
Zack Williamsef434f82016-04-07 17:15:39 -070013
Zack Williams00175a92016-05-02 10:35:25 -070014- name: DNS Server and apt-cacher-ng Setup
Zack Williamsb994a9e2016-05-01 22:21:06 -070015 hosts: head
16 become: yes
17 roles:
Zack Williams00175a92016-05-02 10:35:25 -070018 - dns-nsd
19 - dns-unbound
Zack Williamsb994a9e2016-05-01 22:21:06 -070020 - apt-cacher-ng
Zack Williams5f25f362016-05-02 09:18:41 -070021
Zack Williamsa1cd04e2016-05-02 10:41:37 -070022- name: Configure all hosts to use DNS server
Zack Williams89412832016-06-27 21:17:01 -070023 hosts: head
Zack Williamsa1cd04e2016-05-02 10:41:37 -070024 become: yes
25 roles:
26 - dns-configure
27
Zack Williamsef434f82016-04-07 17:15:39 -070028- name: Prep systems
Zack Williams89412832016-06-27 21:17:01 -070029 hosts: head
Zack Williamsef434f82016-04-07 17:15:39 -070030 become: yes
31 roles:
32 - common-prep
Zack Williams32d711d2016-06-02 10:53:30 -070033 - { role: cloudlab-prep, when: on_cloudlab }
Zack Williamsef434f82016-04-07 17:15:39 -070034
Zack Williamsd31bbc92016-05-20 11:43:18 -070035- name: Configure head node, create VM's
Zack Williamsef434f82016-04-07 17:15:39 -070036 hosts: head
37 roles:
Zack Williams5f25f362016-05-02 09:18:41 -070038 - { role: head-prep, become: yes }
Zack Williamsc990bf72016-05-01 07:44:53 -070039 - { role: config-virt, become: yes }
Zack Williams36a22bf2016-05-20 11:54:49 -070040 - create-vms
Zack Williamsef434f82016-04-07 17:15:39 -070041
Zack Williams22332942016-05-20 12:40:58 -070042- name: Set up VM's, juju, simulate fabric
Zack Williams82a6b782016-04-12 14:00:01 -070043 hosts: head
44 roles:
45 - xos-vm-install
46 - onos-vm-install
Zack Williamsa3e40562016-07-05 12:05:39 -070047 - { role: test-client-install, when: test_client_install }
Zack Williamsd31bbc92016-05-20 11:43:18 -070048 - juju-setup
Zack Williamsb273a422016-05-18 13:33:00 -070049 - docker-compose
Zack Williams0e583122016-04-30 16:57:03 -070050 - simulate-fabric
Andy Bavierc2335122016-06-25 09:59:22 -040051 - onos-load-apps
Andy Bavier3a1d0642016-07-01 14:11:39 -040052 - xos-start