I am trying to pass a dict as a parameter in the Ansible Module but it is 
giving me error "{"msg": "unable to evaluate dictionary for devices", 
"failed": true}"

Devices is the parameter below which i am trying to pass, please help

ansible/hacking/test-module -m 
/usr/share/ansible/monitoring/my_maintenance.py -a 
"schedule_type="One-Time" devices="{"hostName":"HYDLPT326"}" 
start_time=2015-06-01T16:00:00+0000 end_time=2015-06-01T16:30:00+0000 
timezone="Asia/Calcutta" client_id=client_2655"

O/p is below
----------------

***********************************
RAW OUTPUT
{"msg": "unable to evaluate dictionary for devices", "failed": true}


***********************************
PARSED OUTPUT
{
    "failed": true,
    "msg": "unable to evaluate dictionary for devices"
}

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/f4f1913e-3c75-4afb-a39f-37a3ae9c8881%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to