From fb9a1fbcab380a39ff6cbc965f42099e7ac78b8c Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 22 Feb 2017 13:36:22 -0500 Subject: BZ1414276 - Quote ansible_ssh_user when determining group id So that domain users of the format 'dom\user' may be used for ansible_ssh_user --- playbooks/common/openshift-cluster/redeploy-certificates/ca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'playbooks') 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: -- cgit v1.2.1