summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging/tasks
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-01-13 16:37:27 -0600
committerewolinetz <ewolinet@redhat.com>2017-01-13 16:37:27 -0600
commit9cf70bb6991df874350ea0f5c97da26bb6757edb (patch)
treece174fcb9e497d67168047fb43cd7b3fe738f92f /roles/openshift_logging/tasks
parent054c2a9f169c5547458a4e168855aeb4812b5797 (diff)
downloadopenshift-9cf70bb6991df874350ea0f5c97da26bb6757edb.tar.gz
openshift-9cf70bb6991df874350ea0f5c97da26bb6757edb.tar.bz2
openshift-9cf70bb6991df874350ea0f5c97da26bb6757edb.tar.xz
openshift-9cf70bb6991df874350ea0f5c97da26bb6757edb.zip
additional comments addressed
Diffstat (limited to 'roles/openshift_logging/tasks')
-rw-r--r--roles/openshift_logging/tasks/generate_configmaps.yaml13
1 files changed, 4 insertions, 9 deletions
diff --git a/roles/openshift_logging/tasks/generate_configmaps.yaml b/roles/openshift_logging/tasks/generate_configmaps.yaml
index f9f9ee79f..b24a7c342 100644
--- a/roles/openshift_logging/tasks/generate_configmaps.yaml
+++ b/roles/openshift_logging/tasks/generate_configmaps.yaml
@@ -6,16 +6,11 @@
when: es_logging_contents is undefined
changed_when: no
- - copy:
- src: elasticsearch.yml
- dest: "{{mktemp.stdout}}/elasticsearch.yml"
- when: es_config_contents is undefined
- changed_when: no
-
- - lineinfile:
+ - template:
+ src: elasticsearch.yml.j2
dest: "{{mktemp.stdout}}/elasticsearch.yml"
- regexp: '^openshift\.operations\.allow_cluster_reader(.)*$'
- line: "\nopenshift.operations.allow_cluster_reader: {{openshift_logging_es_ops_allow_cluster_reader | lower}}"
+ vars:
+ - allow_cluster_reader: "{{openshift_logging_es_ops_allow_cluster_reader | lower | default('false')}}"
when: es_config_contents is undefined
changed_when: no