Hi,
I am trying to modify the fleet dynamic inventory. I have modified the
fleet.py in github to generate a json like this
{
"all": {
"nodetype1": {
"hosts": ["10.209.6.1", "10.203.6.1", "10.201.6.1"]
}
}
}
When I run this fleet.py with the ansible I get this error
ERROR! Attempted to execute "fleet.py" as inventory script: Inventory
script (fleet.py) had an execution error:
May I know what is wrong with the above json?? I could not understand what
is the wrong with the json by reading the documentation. Can someone help
please?
Thanks,
./Siva
--
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/bd837105-9045-4539-8bde-a7b0ac4eedc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.