blob: 93ce8118bc5ced6dc8a2503c3765a10f95c3ccae [file] [log] [blame]
Zack Williams5223dd92017-02-28 23:38:02 -07001---
2# prep-computenode-playbook.yml
3# Prepares a compute node on a CORD pod
4
5- name: Include vars
6 hosts: compute
7 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
11 - "profile_manifests/{{ cord_profile }}.yml"
12 - profile_manifests/local_vars.yml
13
14- name: Common prep, install SSL certificates
15 hosts: compute
16 become: yes
17 roles:
18 - common-prep
19 - { role: pki-install, when: not on_maas }
20
21- name: Configure management network
22 hosts: compute
23 become: yes
24 roles:
25 - { role: interface-config, when: not on_maas }
26
27- name: Use headnode DNS server
28 hosts: compute
29 become: yes
30 roles:
31 - { role: dns-configure, when: not on_maas }
32
33- name: Prep compute node
34 hosts: compute
35 become: yes
36 roles:
37 - compute-prep
38