Hello, In order to harmonize several in-house operations, I wrote some self-contained Python command line tools built upon the Ansible core. As it is not desirable to be dependent on several external files, my code embeds both the the host file and the tasks to execute. For the latter I used as starting point the example <http://docs.ansible.com/ansible/dev_guide/developing_api.html#python-api-2-0> of online manual. However, more complex constructs are missing: e.g. I do not know how to express conditionals statements like "when" and "block". Generally speaking, is it possible to have a better understanding of the playbook datastructure in the Python realm ?
Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
