summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted_logging
diff options
context:
space:
mode:
authorRich Megginson <rmeggins@redhat.com>2016-06-03 16:33:06 -0600
committerRich Megginson <rmeggins@redhat.com>2016-07-22 15:30:00 -0600
commita4f84c1d6818b0f4bfe91f1efffb957ca70c2250 (patch)
treebdf35c6a540371685133e363745b1b96f33ffd0a /roles/openshift_hosted_logging
parentd66f7edf5a4a750bddcc4f04ef27c52b805c4063 (diff)
downloadopenshift-a4f84c1d6818b0f4bfe91f1efffb957ca70c2250.tar.gz
openshift-a4f84c1d6818b0f4bfe91f1efffb957ca70c2250.tar.bz2
openshift-a4f84c1d6818b0f4bfe91f1efffb957ca70c2250.tar.xz
openshift-a4f84c1d6818b0f4bfe91f1efffb957ca70c2250.zip
create and process the logging deployer template in the current project, logging
Diffstat (limited to 'roles/openshift_hosted_logging')
-rw-r--r--roles/openshift_hosted_logging/tasks/deploy_logging.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
index 5a0544674..73f92021b 100644
--- a/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
+++ b/roles/openshift_hosted_logging/tasks/deploy_logging.yaml
@@ -67,12 +67,12 @@
- name: "Create deployer template"
command: >
- {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig create -f /usr/share/openshift/examples/infrastructure-templates/enterprise/logging-deployer.yaml -n openshift
+ {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig create -f /usr/share/openshift/examples/infrastructure-templates/enterprise/logging-deployer.yaml
register: template_output
failed_when: "template_output.rc == 1 and 'exists' not in template_output.stderr"
- name: "Process the deployer template"
- shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig process logging-deployer-template -n openshift -v {{ oc_process_values }} | {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig create -f -"
+ shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig process logging-deployer-template -v {{ oc_process_values }} | {{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig create -f -"
- name: "Wait for image pull and deployer pod"
shell: "{{ openshift.common.client_binary }} --config={{ mktemp.stdout }}/admin.kubeconfig get pods | grep logging-deployer.*Completed"