Does anybody have an idea how to execute a playbook on a RHEL machine with sx su - impersonation?
Ansible only provides sudo out of the box but we cannot use sudo as we are using Boks ssh. Does anybody have an idea how to tackle this?
Does anybody have an idea how to execute a playbook on a RHEL machine with sx su - impersonation?
Ansible only provides sudo out of the box but we cannot use sudo as we are using Boks ssh. Does anybody have an idea how to tackle this?
Actually you can! Ansible.cfg has a flax where you can use sx su as a become method
Ansible privilege escalation is documented: http://docs.ansible.com/ansible/become.html
It mentions you cannot combine methods.