Break into smaller tasks for easier restart of bad install
Change-Id: Ia255d7b8ca4b0e0b26873853d3c108c4bb70b47a
diff --git a/cord-prep-platform.yml b/cord-prep-platform.yml
new file mode 100644
index 0000000..70313f1
--- /dev/null
+++ b/cord-prep-platform.yml
@@ -0,0 +1,33 @@
+---
+# Prepares the CORD head node for installing OpenStack, ONOS, and XOS
+
+- 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: DNS Server and apt-cacher-ng Setup
+ hosts: head
+ become: yes
+ roles:
+ - { role: dns-nsd, when: not on_maas }
+ - { role: dns-unbound, when: not on_maas }
+ - apt-cacher-ng
+
+- name: Configure all hosts to use DNS server
+ hosts: all
+ become: yes
+ roles:
+ - { role: dns-configure, when: not on_maas }
+
+- name: Prep systems
+ hosts: all
+ become: yes
+ roles:
+ - common-prep
+ - { role: cloudlab-prep, when: on_cloudlab }