blob: 72b0e04c5670bfeeaab416866df1845f70362be0 [file] [log] [blame]
---
# Installs new compute nodes in cord-pod XOS configuration using Juju
- name: Include vars
hosts: all
tasks:
- name: Include variables
include_vars: "{{ item }}"
with_items:
- vars/cord_defaults.yml
- vars/cord.yml
- vars/example_keystone.yml
- name: Configure compute hosts to use DNS server
hosts: all
become: yes
roles:
- { role: dns-configure, when: not on_maas }
- name: Prep systems
hosts: compute
become: yes
roles:
- common-prep
- { role: cloudlab-prep, when: on_cloudlab }
- name: Configure head node (for sshkey)
hosts: head
roles:
- { role: head-prep, become: yes }
- name: Configure compute nodes
hosts: compute
become: yes
roles:
- compute-prep
- { role: maas-simulate-fabric, when: cord_in_a_box }
- { role: maas-test-client-install, when: cord_in_a_box }
- name: Deploy compute nodes
hosts: head
roles:
- juju-compute-setup
- xos-compute-setup