From d61b126ee26959941da9a5c819bf62f2d7fa84ea Mon Sep 17 00:00:00 2001 From: Guillaume Coré <gucore@redhat.com> Date: Thu, 23 Nov 2017 19:17:14 +0100 Subject: [PATCH] try with shell instead of command --- ansible/configs/ocp-workshop/post_software.yml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ansible/configs/ocp-workshop/post_software.yml b/ansible/configs/ocp-workshop/post_software.yml index 931066c..cc34ae2 100644 --- a/ansible/configs/ocp-workshop/post_software.yml +++ b/ansible/configs/ocp-workshop/post_software.yml @@ -103,7 +103,7 @@ - env-specific_infra tasks: - name: Give administrative user cluster-admin privileges - command: "oc adm policy add-cluster-role-to-user cluster-admin {{ admin_user }}" + shell: "oc adm policy add-cluster-role-to-user cluster-admin {{ admin_user }}" - name: Check for admin_project project command: "oc get project {{admin_project}}" -- Gitblit v1.9.3