I looked a bit further, did RTFM of cobbler, and found this:
https://fedorahosted.org/cobbler/wiki/CobblerXmlrpc
Where I did a test with the included example code:
*#!/usr/bin/python
import xmlrpclib
server = xmlrpclib.Server("http://127.0.0.1/cobbler_api")
server = xmlrpclib.Server("http://127.0.0.1/cobbler_api")
print server.get_distros()
print server.get_profiles()
print server.get_systems()
print server.get_images()
print server.get_repos()*
This gives a lot of output, not well formatted, but I recognise what is
stored in cobbler.
So imho, the cobbler_api works, ... but not the way the cobbler.py script
tries present data from it.
Thanks,
Joost
--
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].
For more options, visit https://groups.google.com/groups/opt_out.