summaryrefslogtreecommitdiffstats
path: root/playbooks
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-17 11:25:35 -0500
committerScott Dodson <sdodson@redhat.com>2017-02-17 11:27:10 -0500
commit882f180a7f56d1b12c68620abf678216b81f2619 (patch)
treeedc13b681532a57e42a141dbc6396760c629592a /playbooks
parentf39408aada18ab6cf6f87d00f11ddeb3984816b9 (diff)
downloadopenshift-882f180a7f56d1b12c68620abf678216b81f2619.tar.gz
openshift-882f180a7f56d1b12c68620abf678216b81f2619.tar.bz2
openshift-882f180a7f56d1b12c68620abf678216b81f2619.tar.xz
openshift-882f180a7f56d1b12c68620abf678216b81f2619.zip
Fix indenting/ordering in router cert redeploy
Fixes Bug 1423430
Diffstat (limited to 'playbooks')
-rw-r--r--playbooks/common/openshift-cluster/redeploy-certificates/router.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/playbooks/common/openshift-cluster/redeploy-certificates/router.yml b/playbooks/common/openshift-cluster/redeploy-certificates/router.yml
index 707fb6424..35eedd5ee 100644
--- a/playbooks/common/openshift-cluster/redeploy-certificates/router.yml
+++ b/playbooks/common/openshift-cluster/redeploy-certificates/router.yml
@@ -2,14 +2,13 @@
- name: Update router certificates
hosts: oo_first_master
vars:
+ roles:
+ - lib_openshift
tasks:
- name: Create temp directory for kubeconfig
command: mktemp -d /tmp/openshift-ansible-XXXXXX
register: mktemp
changed_when: false
- roles:
- - lib_openshift
-
- name: Copy admin client config(s)
command: >
cp {{ openshift.common.config_base }}/master//admin.kubeconfig {{ mktemp.stdout }}/admin.kubeconfig