diff --git a/playbooks/groups/os-cluster.yml b/playbooks/groups/os-cluster.yml index b92c96b7ad..c3f7c916f9 100644 --- a/playbooks/groups/os-cluster.yml +++ b/playbooks/groups/os-cluster.yml @@ -179,7 +179,7 @@ - name: Disallow users from provisioning command: oc adm policy remove-cluster-role-from-group self-provisioner system:authenticated system:authenticated:oauth changed_when: false - failed_when: 'unable to find target' not in command_result.stdout + failed_when: "'unable to find target' not in command_result.stdout" - name: Allow some users cluster admin command: oadm policy add-cluster-role-to-user cluster-admin {{item}} with_items: