blob: 127a5b392eeee0d024ec1789d9c9af082801ba94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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/aws.conf"
state: touch
mode: 0660
owner: root
group: root
changed_when: false
- name: Configure AWS cloud provider
ini_file:
dest: "{{ openshift.common.config_base }}/cloudprovider/aws.conf"
section: Global
option: Zone
value: "{{ openshift.provider.zone }}"
|