blob: 116ff71ce3ec99b5182150ed4164eed7e0a3dfb7 [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
Zack Williamsfe284a12017-07-01 11:00:04 -070019 - { role: pki-install, when: not use_maas }
Zack Williams5223dd92017-02-28 23:38:02 -070020
21- name: Configure management network
22 hosts: compute
23 become: yes
24 roles:
Zack Williamsfe284a12017-07-01 11:00:04 -070025 - { role: interface-config, when: not use_maas }
Zack Williams5223dd92017-02-28 23:38:02 -070026
27- name: Use headnode DNS server
28 hosts: compute
29 become: yes
30 roles:
Zack Williamsfe284a12017-07-01 11:00:04 -070031 - { role: dns-configure, when: not use_maas }
Zack Williams5223dd92017-02-28 23:38:02 -070032
33- name: Prep compute node
34 hosts: compute
35 become: yes
36 roles:
37 - compute-prep
38