blob: 6461e1f85d3a3dea7540d5da17611e1881142c12 [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:
Andy Bavier0481a8a2016-07-14 13:01:45 +020015 - { role: dns-configure, when: not on_maas }
Andy Bavier3a1d0642016-07-01 14:11:39 -040016
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