Openshift installation failing with 'ansible.vars.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'kind' error

Solution Verified - Updated -

Issue

  • Openshift installation failing with 'ansible.vars.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'kind' error
  • During the advanced installation of OpenShift with Ansible we are receiving the following error:
  1. Host:     node1
     Play:     Configure masters
     Task:     openshift_master : Install httpd-tools if needed
     Message:  The conditional check '(item.kind == 'HTPasswdPasswordIdentityProvider') and not openshift.common.is_atomic | bool' failed. The error was: error while evaluating conditional ((item.kind == 'HTPasswdPasswordIdentityProvider') and not openshift.common.is_atomic | bool): 'ansible.vars.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'kind'

               The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/openshift_master/tasks/main.yml': line 74, column 3, but may
               be elsewhere in the file depending on the exact syntax problem.

               The offending line appears to be:


               - name: Install httpd-tools if needed
                 ^ here

Environment

  • Openshift 3.6
  • Ansible installer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content