summaryrefslogtreecommitdiffstats
path: root/playbooks/common
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-02-24 11:01:23 -0500
committerGitHub <noreply@github.com>2017-02-24 11:01:23 -0500
commit584f44568cf0fa04410e533d69a070f77f11807f (patch)
tree3c75b2f570f217760485e6a53a511ee2c763b5ac /playbooks/common
parentcecc1f83edf078842e7ca104f9dc495bf65b1e9b (diff)
parentfb9a1fbcab380a39ff6cbc965f42099e7ac78b8c (diff)
downloadopenshift-584f44568cf0fa04410e533d69a070f77f11807f.tar.gz
openshift-584f44568cf0fa04410e533d69a070f77f11807f.tar.bz2
openshift-584f44568cf0fa04410e533d69a070f77f11807f.tar.xz
openshift-584f44568cf0fa04410e533d69a070f77f11807f.zip
Merge pull request #3457 from sdodson/1414276
BZ1414276 - Quote ansible_ssh_user when determining group id
Diffstat (limited to 'playbooks/common')
-rw-r--r--playbooks/common/openshift-cluster/redeploy-certificates/ca.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/common/openshift-cluster/redeploy-certificates/ca.yml b/playbooks/common/openshift-cluster/redeploy-certificates/ca.yml
index 9d4d3ea26..2af699209 100644
--- a/playbooks/common/openshift-cluster/redeploy-certificates/ca.yml
+++ b/playbooks/common/openshift-cluster/redeploy-certificates/ca.yml
@@ -294,7 +294,7 @@
client_path: "{{ openshift.common.config_base }}/master/admin.kubeconfig"
ca_path: "{{ openshift.common.config_base }}/master/ca-bundle.crt"
- name: Lookup default group for ansible_ssh_user
- command: "/usr/bin/id -g {{ ansible_ssh_user }}"
+ command: "/usr/bin/id -g {{ ansible_ssh_user | quote }}"
changed_when: false
register: _ansible_ssh_user_gid
- set_fact: