From 33dce1e8f436b2e55c71bb4db0d5971de782a8fa Mon Sep 17 00:00:00 2001
From: Henning Fjellheim <henning.fjellheim@nb.no>
Date: Fri, 21 Oct 2016 14:02:16 +0200
Subject: trouble creating service signer while running upgrade dockerized

---
 .../openshift-cluster/upgrades/create_service_signer_cert.yml     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'playbooks/common/openshift-cluster/upgrades')

diff --git a/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml b/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml
index 460d572da..23cf8cf76 100644
--- a/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml
+++ b/playbooks/common/openshift-cluster/upgrades/create_service_signer_cert.yml
@@ -23,10 +23,10 @@
   - name: Create service signer certificate
     command: >
       {{ openshift.common.client_binary }} adm ca create-signer-cert
-      --cert=service-signer.crt
-      --key=service-signer.key
-      --name=openshift-service-serving-signer
-      --serial=service-signer.serial.txt
+      --cert="{{ remote_cert_create_tmpdir.stdout }}/"service-signer.crt
+      --key="{{ remote_cert_create_tmpdir.stdout }}/"service-signer.key
+      --name="{{ remote_cert_create_tmpdir.stdout }}/"openshift-service-serving-signer
+      --serial="{{ remote_cert_create_tmpdir.stdout }}/"service-signer.serial.txt
     args:
       chdir: "{{ remote_cert_create_tmpdir.stdout }}/"
     when: not (hostvars[groups.oo_first_master.0].service_signer_cert_stat.stat.exists | bool)
-- 
cgit v1.2.3