You are making the assumption that all modules shell out to run commands, this is true only for a few modules. Most modules use functions native to the language they are written in (python in the case of those shipped with ansible, but it can be any scripting language) which would end up calling the same system calls most command line utilities use but that would not allow for fine grain sudo to match.
-- Brian Coca -- 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/CAJ5XC8mqW_b%3D7x39XUmQxV6OVRBLkVn9DLBjL-%3DNduW2kFiE3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
