So I was thinking about some of the modules implemented in ansible.

A few of them just proxy through to unix commands while others will use a
Python API when it exists. Can someone explain the advantages and
disadvantages for both?

I can only think of an API being more programmer friendly for getting back
return codes, calling functions instead of commands etc ...

Am I missing other points? I'm writing a few modules and don't want to feel
bad for writing a command proxy when I could spend time writing a python
API for my needs.

Kind Regards,
-Mathew Davies.

-- 
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/CAN9G7bp0zibVn-5vWKwVNAh2RQSD9yyS%3DwmO22hyxKJnsaU2cw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to