From 2659a4f891d22dd820bd30f8d3b1dbd8793abb7a Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 4 Nov 2016 11:01:14 -0500 Subject: default to multizone GCE config --- roles/openshift_cloud_provider/tasks/gce.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 roles/openshift_cloud_provider/tasks/gce.yml (limited to 'roles/openshift_cloud_provider/tasks/gce.yml') diff --git a/roles/openshift_cloud_provider/tasks/gce.yml b/roles/openshift_cloud_provider/tasks/gce.yml new file mode 100644 index 000000000..14ad8ba94 --- /dev/null +++ b/roles/openshift_cloud_provider/tasks/gce.yml @@ -0,0 +1,16 @@ +# Work around ini_file create option in 2.2 which defaults to no +- name: Create cloud config file + file: + dest: "{{ openshift.common.config_base }}/cloudprovider/gce.conf" + state: touch + mode: 0660 + owner: root + group: root + changed_when: false + +- name: Configure GCE cloud provider + ini_file: + dest: "{{ openshift.common.config_base }}/cloudprovider/gce.conf" + section: Global + option: multizone + value: "true" -- cgit v1.2.1