ansible / ansible-modules-core

Ansible modules - these modules ship with ansible
1.3k stars 1.95k forks source link

yum_secure with restricted sudo permissions #5887

Closed sbernier closed 7 years ago

sbernier commented 7 years ago

Hi, Ansible supports sudo at the framework level, but it assumes unrestricted sudo permissions. We have to operate environments where sudo is restricted to certain commands only, hence Ansible at the framework level doesn’t help us. We have introduced sudo capabilities directly into a new yum module, in order to support restricted sudo and manage to deploy our solution.

What do you think of the solution, is there any other alternatives?

We are working with Ansible version 2.1 so we would need this functionality on this specific version.

Thanks, Best Regards

gundalow commented 7 years ago

Hi, I've seen a few PRs/issues come in against your name just now. They should be raised against github.com/ansible/ansible

gundalow commented 7 years ago

Also from a quick glance at this PR I think it needs more discussion.

Hi!

Thanks very much for your interest in Ansible. It sincerely means a lot to us.

This appears to be a user question, and we'd like to direct these kinds of things to either the mailing list or the IRC channel.

If you can stop by there, we'd appreciate it. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like.

Thank you once again and we look forward to seeing you on the list or IRC. Thanks!