From 983fdade31c57654854cce3c5340e8bf5a7838e7 Mon Sep 17 00:00:00 2001 From: Kenny Woodson Date: Sat, 28 Oct 2017 20:46:44 -0400 Subject: Bootstrap enhancements. --- playbooks/aws/openshift-cluster/prerequisites.yml | 2 -- playbooks/aws/openshift-cluster/provision_sec_group.yml | 2 +- playbooks/common/openshift-master/config.yml | 7 +++++++ 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'playbooks') diff --git a/playbooks/aws/openshift-cluster/prerequisites.yml b/playbooks/aws/openshift-cluster/prerequisites.yml index df77fe3bc..f5eb01b14 100644 --- a/playbooks/aws/openshift-cluster/prerequisites.yml +++ b/playbooks/aws/openshift-cluster/prerequisites.yml @@ -4,5 +4,3 @@ - include: provision_ssh_keypair.yml - include: provision_sec_group.yml - vars: - openshift_aws_node_group_type: compute diff --git a/playbooks/aws/openshift-cluster/provision_sec_group.yml b/playbooks/aws/openshift-cluster/provision_sec_group.yml index 039357adb..7d74a691a 100644 --- a/playbooks/aws/openshift-cluster/provision_sec_group.yml +++ b/playbooks/aws/openshift-cluster/provision_sec_group.yml @@ -6,7 +6,7 @@ connection: local gather_facts: no tasks: - - name: create an instance and prepare for ami + - name: create security groups include_role: name: openshift_aws tasks_from: security_group.yml diff --git a/playbooks/common/openshift-master/config.yml b/playbooks/common/openshift-master/config.yml index b359919ba..f32073f09 100644 --- a/playbooks/common/openshift-master/config.yml +++ b/playbooks/common/openshift-master/config.yml @@ -212,6 +212,13 @@ tasks_from: master when: openshift_use_kuryr | default(false) | bool + - name: Setup the compute and infra node config maps + include_role: + name: openshift_node_bootstrap_configmap + tasks_from: standard.yml + when: openshift_master_bootstrap_enabled | default(false) | bool + run_once: True + post_tasks: - name: Create group for deployment type group_by: key=oo_masters_deployment_type_{{ openshift.common.deployment_type }} -- cgit v1.2.3