For anyone having this issue, here is the solution.
The reason it was throwing that error was that the target server was using
dzdo instead of sudo. Changing
become_method = su to become_method = dzdo in ansible.cfg fixed the issue.
On Saturday, June 5, 2021 at 12:36:04 PM UTC-4 Jade Foram
ansible-playbook switch.yml -v
Using /home/sidwi/ansible/ansible.cfg as config file
ERROR! failed to combine variables, expected dicts but got a 'dict' and a
'AnsibleSequence':
{}
[{"hostname": "switch1", "dev_vlan": 2, "pro_vlan": 3, "pro_vlan_ip":
"10.100.10.1", "pro_vlan_network":
Hello Experts,
I have installed ansible using homebrew.
While trying to run few IOS command from my mac PC via jump server I am
getting below errors.
* ESTABLISH LOCAL CONNECTION FOR USER: root*
EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo