Displaying 1 result from an estimated 1 matches for "naft".
Did you mean:
aft
2017 Jun 05
2
C7 ansible 2.3 become_method: su not working
...up
with sudo access. The way to get to root is 'su'.
I'm not a newbie with Ansible as I used it extensively in my previous
position to manage ~70 or so Ubuntu servers. The Ansible is CentOS 7.
I'm working on getting Ansible to play nice with privilege escalation
using SU and NAFT has worked. Here's an example (very simple) playbook:
Because I'm having to use 'su' I have to either add the user password to
the inventory file or use the --ask-become-pass parameter to the command
line. Every time I do, I get this:
[root at ansible ~]# ansible-playbook pla...