blob: cdcd81e72f925bbbe4212a5c46c512c6cfe73d59 [file] [log] [blame]
Andy Bavier3a1d0642016-07-01 14:11:39 -04001---
Andy Bavier30d27c92016-09-15 15:59:17 -04002# Installs new compute nodes in cord-pod XOS configuration using Juju
Andy Bavier3a1d0642016-07-01 14:11:39 -04003
4- name: Include vars
5 hosts: all
6 tasks:
Zack Williams35624562016-08-28 17:12:26 -07007 - name: Include variables
8 include_vars: "{{ item }}"
9 with_items:
10 - vars/cord_defaults.yml
11 - vars/cord.yml
12 - vars/example_keystone.yml
Andy Bavier3a1d0642016-07-01 14:11:39 -040013
14- name: Configure compute hosts to use DNS server
15 hosts: all
16 become: yes
17 roles:
Andy Bavier0481a8a2016-07-14 13:01:45 +020018 - { role: dns-configure, when: not on_maas }
Andy Bavier3a1d0642016-07-01 14:11:39 -040019
20- name: Prep systems
21 hosts: compute
22 become: yes
23 roles:
24 - common-prep
25 - { role: cloudlab-prep, when: on_cloudlab }
26
27- name: Configure head node (for sshkey)
28 hosts: head
29 roles:
30 - { role: head-prep, become: yes }
31
32- name: Configure compute nodes
33 hosts: compute
34 become: yes
35 roles:
36 - compute-prep
37
38- name: Deploy compute nodes
39 hosts: head
40 roles:
41 - juju-compute-setup
42 - xos-compute-setup