ansible is not using those commands and will not work with restricted sudo in that way, it needs full sudo to accomplish these tasks. Most of the work of the apt module is using the apt-python API.
---------- 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/CACVha7fNrxpiYeoHNao7ROrQB%2BQ84ExMVsfcmnvqK%2BOL3JVPnw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
