On 2/19/20 8:02 AM, harry devine wrote:
I'm using the Satellite6 Content Views role found here:
https://galaxy.ansible.com/ahuffman/satellite6_manage_content_views.
It works on Ansible up to 2.8.6, but any version after that gives the
following error:
TASK [satellite6_manage_content_views : Set content view remove list]
********************************************************************************************************************
fatal: [test-server]: FAILED! => {"msg": "Unexpected templating type
error occurred on ({{ cv_ver_names | difference(cv_keep_list) }}):
coercing to Unicode: need string or buffer, dict found"}
I filed an issue on the author's Github repo in October when Ansible
2.9 rc5 was automatically installed on my system, but nothing has been
done with it since I filed it. I'd like to try and fix it myself, but
I don't understand what the error means or is doing. Here's the YAML
code that's being executed when it fails:
All the debug statements you put in the code will set you see if the
lists you're trying to get the differences of are actually lists. Can
you post your output for those?
Hugo
--
You received this message because you are subscribed to the Google Groups "Ansible
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/97c41ac4-a61f-e435-b56b-f6703f218e2b%40redhat.com.