added expansion for second dc
diff --git a/expand.yml b/expand.yml
new file mode 100644
index 0000000..c326859
--- /dev/null
+++ b/expand.yml
@@ -0,0 +1,74 @@
+---
+- include: configuration/update_cache.yml
+ tags:
+ - cache
+ - os-pre-req
+ - apigee-pre-req
+ - cassandra
+ - elastic
+ - portal
+ - baas
+
+- include: configuration/load-opdk-credentials.yml
+ vars:
+ hosts: 'dc-2'
+ tags:
+ - credentials
+ - os-pre-req
+ - apigee-pre-req
+
+- include: configuration/opdk-setup-os.yml
+ vars:
+ hosts: 'dc-2'
+ tags:
+ - os
+ - os-pre-req
+
+- include: configuration/update-user.yml
+ vars:
+ hosts: 'dc-2'
+ user: 'root'
+ tags:
+ - root-user
+ - os-pre-req
+
+- include: components/opdk-pre-requisites.yml
+ vars:
+ hosts: 'dc-2'
+ jdk_version: '1.8'
+ tags:
+ - apigee-pre-req
+
+- include: components/opdk-install-component.yml
+ vars:
+ hosts: 'dc-2-cassandra'
+ component_profile: 'c'
+ tags:
+ - cassandra
+
+- include: components/opdk-install-component.yml
+ vars:
+ hosts: 'dc-2-elastic'
+ component_profile: 'e'
+ tags:
+ - elastic
+
+- include: components/opdk-install-component.yml
+ vars:
+ hosts: 'dc-2-baas'
+ component_profile: 'b'
+ tags:
+ - baas
+
+- include: components/opdk-install-component.yml
+ vars:
+ hosts: 'dc-2-portal'
+ component_profile: 'p'
+ tags:
+ - portal
+
+- include: configuration/opdk-baas-create-org-user.yml
+ vars:
+ hosts: 'dc-2-baas[0]'
+ tags:
+ - org
diff --git a/installation.yml b/installation.yml
index b60222e..7d62a30 100644
--- a/installation.yml
+++ b/installation.yml
@@ -11,7 +11,7 @@
- include: configuration/load-opdk-credentials.yml
vars:
- hosts: 'planet'
+ hosts: 'dc-1'
tags:
- credentials
- os-pre-req
@@ -19,14 +19,14 @@
- include: configuration/opdk-setup-os.yml
vars:
- hosts: 'planet'
+ hosts: 'dc-1'
tags:
- os
- os-pre-req
- include: configuration/update-user.yml
vars:
- hosts: 'planet'
+ hosts: 'dc-1'
user: 'root'
tags:
- root-user
@@ -34,41 +34,41 @@
- include: components/opdk-pre-requisites.yml
vars:
- hosts: 'planet'
+ hosts: 'dc-1'
jdk_version: '1.8'
tags:
- apigee-pre-req
- include: components/opdk-install-component.yml
vars:
- hosts: 'cassandra'
+ hosts: 'dc-1-cassandra'
component_profile: 'c'
tags:
- cassandra
- include: components/opdk-install-component.yml
vars:
- hosts: 'elastic'
+ hosts: 'dc-1-elastic'
component_profile: 'e'
tags:
- elastic
- include: components/opdk-install-component.yml
vars:
- hosts: 'baas'
+ hosts: 'dc-1-baas'
component_profile: 'b'
tags:
- baas
- include: components/opdk-install-component.yml
vars:
- hosts: 'portal'
+ hosts: 'dc-1-portal'
component_profile: 'p'
tags:
- portal
- include: configuration/opdk-baas-create-org-user.yml
vars:
- hosts: 'baas[0]'
+ hosts: 'dc-1-baas[0]'
tags:
- org