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": "10.100.10.0", "pro_vlan_net_mask": 
"255.255.255.0", "dev_vlan_ip": "10.100.20.1", "dev_vlan_network": 
"10.100.20.0", "dev_vlan_net_mask": "255.255.255.0", "dev_vlan_dhcp_ex_st": 
"10.100.10.1", "dev_vlan_dhcp_ex_en": "10.100.10.254", 
"pro_vlan_dhcp_ex-st": "10.100.20.1", "pro_vlan_dhcp_ex_en": 
"10.100.20.254"}, {"hostname": "switch2", "dev_vlan": 3, "pro_vlan_ip": 
"10.100.10.1", "pro_vlan_network": "10.100.10.0", "pro_vlan_net_mask": 
"255.255.255.0", "dev_vlan_ip": "10.100.20.1", "dev_vlan_network": 
"10.100.20.0", "dev_vlan_net_mask": "255.255.255.0", "dev_vlan_dhcp_ex_st": 
"10.100.10.1", "dev_vlan_dhcp_ex_en": "10.100.10.254", 
"pro_vlan_dhcp_ex-st": "10.100.20.1", "pro_vlan_dhcp_ex_en": 
"10.100.20.254"}]


-- 
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/5f825b68-e255-4eee-a670-f84c466727e3n%40googlegroups.com.

Reply via email to