blob: b0f191efad574233ffe0eca6cb9b962b5414b1b4 [file] [log] [blame]
Andy Bavier3a1d0642016-07-01 14:11:39 -04001---
2# Installs new compute nodes in cord-pod XOS configuration using Juju
3
4- name: Include vars
5 hosts: all
6 tasks:
7 - include_vars: vars/cord_defaults.yml
8 - include_vars: vars/cord.yml
9 - include_vars: vars/example_keystone.yml
10
11- name: Configure compute hosts to use DNS server
12 hosts: all
13 become: yes
14 roles:
15 - { role: dns-configure, when: on_cloudlab }
16
17- name: Prep systems
18 hosts: compute
19 become: yes
20 roles:
21 - common-prep
22 - { role: cloudlab-prep, when: on_cloudlab }
23
24- name: Configure head node (for sshkey)
25 hosts: head
26 roles:
27 - { role: head-prep, become: yes }
28
29- name: Configure compute nodes
30 hosts: compute
31 become: yes
32 roles:
33 - compute-prep
34
35- name: Deploy compute nodes
36 hosts: head
37 roles:
38 - juju-compute-setup
39 - xos-compute-setup
40