I have Ansible Automation Platform and AWX set up in my lab so I can learn how to use these systems for network automation. I found a collection called ‘Network Toolkit’ by Sean Cavanaugh:
https://galaxy.ansible.com/ui/repo/published/network/toolkit/
I’ve been testing the network_backup.yml playbook against a Cisco 9300 and a 3850 switch to backup the configuration and copy it to a repository. It uses the cisco.ios collection and works really well in Ansible Automation Platform Controller 4.4.5 running on RHEL 9.2
However, the same exact set up fails in AWX 23.4.0 running on Ubuntu 22.04.1 LTS
Here is the error:
The full traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 165, in run
res = self._execute()
File "/usr/local/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 608, in _execute
socket_path = start_connection(self._play_context, options, self._task._uuid)
File "/usr/local/lib/python3.9/site-packages/ansible/executor/task_executor.py", line 1230, in start_connection
write_to_file_descriptor(master, options)
File "/usr/local/lib/python3.9/site-packages/ansible/module_utils/connection.py", line 58, in write_to_file_descriptor
src = cPickle.dumps(obj, protocol=0)
File "/usr/lib64/python3.9/copyreg.py", line 71, in _reduce_ex
state = base(self)
RecursionError: maximum recursion depth exceeded while getting the str of an object
I also tried it in AWX 23.5.1 and I’m getting the same error. I’m just checking to see if anyone can point me in the right direction. Thanks.