summaryrefslogtreecommitdiffstats
path: root/roles/openshift_gcp/tasks/node_cloud_config.yml
blob: 4e982f49776bf7b92b46afcf0c333511d51d70d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
- name: ensure the /etc/origin folder exists
  file: name=/etc/origin state=directory

- name: configure gce cloud config options
  ini_file: dest=/etc/origin/cloudprovider/gce.conf section=Global option={{ item.key }} value={{ item.value }} state=present create=yes
  with_items:
    - { key: 'project-id', value: '{{ openshift_gcp_project }}' }
    - { key: 'network-name', value: '{{ openshift_gcp_network_name }}' }
    - { key: 'node-tags', value: '{{ openshift_gcp_prefix }}ocp' }
    - { key: 'node-instance-prefix', value: '{{ openshift_gcp_prefix }}' }
    - { key: 'multizone', value: 'false' }