You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to use the following in a controller_job_templates.d file:
extra_vars:
host_domain: some.domain
ansible_host: '"{{ inventory_hostname_short }}.{{ host_domain }}"'
When the apply_template job runs in AWX it errors with:
ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for |=: 'bool' and 'str'
It is trying to calculate the variables not have it come across as variables which I think is what you are looking for, see the !unsafe like we suggest in those cases like cred type
Summary
Trying to use the following in a controller_job_templates.d file:
extra_vars:
host_domain: some.domain
ansible_host: '"{{ inventory_hostname_short }}.{{ host_domain }}"'
When the apply_template job runs in AWX it errors with:
ERROR! Unexpected Exception, this is probably a bug: unsupported operand type(s) for |=: 'bool' and 'str'
Issue Type
Ansible, Collection, Controller details
Desired Behavior
I want the resulting job template in the AWX gui to have these variables:
host_domain: some.domain
ansible_host: "{{inventory_hostname_short}}.{{host_domain}}"
Actual Behavior
Giving an error instead of completing.
STEPS TO REPRODUCE
In file orgs_vars\Default\env\common\controller_job_templates.d\TEMPLATE-ADjoin-Windows.yml
The text was updated successfully, but these errors were encountered: