Re:Ansible open-sources Ansible Tower with AWX
by mikepurvis on Wednesday October 11, 2017 @02:43PM
(#15452162)
That's fair, but Ansible culture is to do everything as sudo, and traditionally it was pretty painful to execute only portions of a playbook as the sudo. Though it looks like that's gotten better in more recent times: http://docs.ansible.com/ansible/latest/become.html
Re:Ansible open-sources Ansible Tower with AWX
by ghjm on Thursday October 12, 2017 @10:59AM
(#15458450)
Even if your playbooks run everything as sudo, that doesn't mean you have to grant AWX/Tower users the ability to create arbitrary playbooks or run anything else as sudo. You certainly can do that, but the point of the RBAC feature of Tower is that you don't have to.
Re:Ansible open-sources Ansible Tower with AWX
by emmelaich on Wednesday October 11, 2017 @07:30PM
(#15454476)
The big improvement was the ability to turn sudo off/on for a particular task. Not sure when that was introduced. 1.9.something?
Re:Ansible open-sources Ansible Tower with AWX
by lima on Wednesday October 11, 2017 @03:08PM
(#15452428)
If you're using Ansible for configuration management, it'll need root access either way.
Re:Ansible open-sources Ansible Tower with AWX
by rmenr on Monday October 23, 2017 @01:58AM
(#15531017)
To do anything useful, you'd have to give it sudoer privs - this is true.
If you're squeamish about that, on principle, then Salt, Chef, and Puppet would be problematic as well. The only logical choice would be to provision and bake all of your images and push the AMI up to AWS...in which case Ansible would be an excellent utility anyway.
Re:Ansible open-sources Ansible Tower with AWX
by user5994461 on Wednesday October 11, 2017 @03:36PM
(#15452722)
It doesn't need root access. It's just that most of the useful things to do on a server require root.
It only has unrestricted access to what you give it unrestricted access to.
If your ansible playbooks use a user that doesn't have root access and limited sudo powers, then it's not much different from using Ara.