blob: 8661208cd2304480356c620a81a95e025587472c [file] [log] [blame]
Andy Bavier12262e72016-12-02 11:36:57 -05001---
Zack Williamsa2763112017-01-03 11:38:38 -07002# cord-prep-platform.yml
Andy Bavier12262e72016-12-02 11:36:57 -05003# Prepares the CORD head node for installing OpenStack, ONOS, and XOS
4
5- name: Include vars
6 hosts: all
7 tasks:
8 - name: Include variables
9 include_vars: "{{ item }}"
10 with_items:
Zack Williamsa2763112017-01-03 11:38:38 -070011 - "profile_manifests/{{ cord_profile }}.yml"
12 - profile_manifests/local_vars.yml
Andy Bavier12262e72016-12-02 11:36:57 -050013
14- name: DNS Server and apt-cacher-ng Setup
15 hosts: head
16 become: yes
17 roles:
18 - { role: dns-nsd, when: not on_maas }
19 - { role: dns-unbound, when: not on_maas }
20 - apt-cacher-ng
21
22- name: Configure all hosts to use DNS server
23 hosts: all
24 become: yes
25 roles:
26 - { role: dns-configure, when: not on_maas }
27
28- name: Prep systems
29 hosts: all
30 become: yes
31 roles:
32 - common-prep
33 - { role: cloudlab-prep, when: on_cloudlab }
Zack Williamsa2763112017-01-03 11:38:38 -070034