|
@@ -76,22 +76,6 @@
|
|
include: config.yml
|
|
include: config.yml
|
|
when: not openshift_node_bootstrap
|
|
when: not openshift_node_bootstrap
|
|
|
|
|
|
-- name: Configure AWS Cloud Provider Settings
|
|
|
|
- lineinfile:
|
|
|
|
- dest: /etc/sysconfig/{{ openshift.common.service_type }}-node
|
|
|
|
- regexp: "{{ item.regex }}"
|
|
|
|
- line: "{{ item.line }}"
|
|
|
|
- create: true
|
|
|
|
- with_items:
|
|
|
|
- - regex: '^AWS_ACCESS_KEY_ID='
|
|
|
|
- line: "AWS_ACCESS_KEY_ID={{ openshift_cloudprovider_aws_access_key | default('') }}"
|
|
|
|
- - regex: '^AWS_SECRET_ACCESS_KEY='
|
|
|
|
- line: "AWS_SECRET_ACCESS_KEY={{ openshift_cloudprovider_aws_secret_key | default('') }}"
|
|
|
|
- no_log: True
|
|
|
|
- when: openshift_cloudprovider_kind is defined and openshift_cloudprovider_kind == 'aws' and openshift_cloudprovider_aws_access_key is defined and openshift_cloudprovider_aws_secret_key is defined
|
|
|
|
- notify:
|
|
|
|
- - restart node
|
|
|
|
-
|
|
|
|
#### Storage class plugins here ####
|
|
#### Storage class plugins here ####
|
|
- name: NFS storage plugin configuration
|
|
- name: NFS storage plugin configuration
|
|
include: storage_plugins/nfs.yml
|
|
include: storage_plugins/nfs.yml
|