Why infra.controller_configuration.filetree_create role failed at the "Add current team roles to the team roles flat file" task?

Solution Verified - Updated -

Issue

  • What causes the infra.controller_configuration.filetree_create role to fail with the ansible.errors.AnsibleFilterTypeError: dict2items requires a dictionary, got <class 'ansible.utils.unsafe_proxy.AnsibleUnsafeText'> instead error?

Environment

  • Red Hat Ansible Automation Platform 2.x

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