summaryrefslogtreecommitdiffstats
path: root/playbooks/aws/openshift-cluster
diff options
context:
space:
mode:
authorMichael Gugino <mgugino@redhat.com>2017-09-27 17:22:51 -0400
committerMichael Gugino <mgugino@redhat.com>2017-09-28 13:50:33 -0400
commitba42e26ecfb8beda253fba0dc9a4c4c38dec9ec4 (patch)
tree0ac9c7ecea0836812a0062164ed67e8c0d7ae5bb /playbooks/aws/openshift-cluster
parente3d5519c6d68b9aa162a58e1a897b6e4f6b0eea1 (diff)
downloadopenshift-ba42e26ecfb8beda253fba0dc9a4c4c38dec9ec4.tar.gz
openshift-ba42e26ecfb8beda253fba0dc9a4c4c38dec9ec4.tar.bz2
openshift-ba42e26ecfb8beda253fba0dc9a4c4c38dec9ec4.tar.xz
openshift-ba42e26ecfb8beda253fba0dc9a4c4c38dec9ec4.zip
Changes necessary to support AMI building
Currently, AMI building does not work. These changes implement the necessary steps to build an AMI for usage as a 'golden node image'.
Diffstat (limited to 'playbooks/aws/openshift-cluster')
-rw-r--r--playbooks/aws/openshift-cluster/build_ami.yml10
-rw-r--r--playbooks/aws/openshift-cluster/provision.yml2
2 files changed, 9 insertions, 3 deletions
diff --git a/playbooks/aws/openshift-cluster/build_ami.yml b/playbooks/aws/openshift-cluster/build_ami.yml
index 86b2a2544..1e54f0467 100644
--- a/playbooks/aws/openshift-cluster/build_ami.yml
+++ b/playbooks/aws/openshift-cluster/build_ami.yml
@@ -66,8 +66,14 @@
- name: run the std_include
include: ../../common/openshift-cluster/initialize_openshift_repos.yml
-- name: install node config
- include: ../../common/openshift-node/config.yml
+- name: run node config setup
+ include: ../../common/openshift-node/setup.yml
+
+- name: run node config
+ include: ../../common/openshift-node/configure_nodes.yml
+
+- name: Re-enable excluders
+ include: ../../common/openshift-node/enable_excluders.yml
- hosts: localhost
connection: local
diff --git a/playbooks/aws/openshift-cluster/provision.yml b/playbooks/aws/openshift-cluster/provision.yml
index db7afac6f..8f018abd0 100644
--- a/playbooks/aws/openshift-cluster/provision.yml
+++ b/playbooks/aws/openshift-cluster/provision.yml
@@ -11,7 +11,7 @@
debug:
msg: "openshift_aws_region={{ openshift_aws_region | default('us-east-1') }}"
- - name: create default vpc
+ - name: provision cluster
include_role:
name: openshift_aws
tasks_from: provision.yml