Actions
Bug #26850
closedAnsible become_method doesn't inherit the settings from REX settings
Difficulty:
trivial
Triaged:
No
Bugzilla link:
Description
Ansible become_method doesn't inherit the settings from REX settings. We do support multiple privilege escalation methods (sudo, dzdo and su) with REX settings, however it always defaults to sudo when running Ansible Jobs.
Per ansible command line help, privilege escalation method if none provided it defaults to sudo
ansible --help | grep -A3 become-method
--become-method=BECOME_METHOD
privilege escalation method to use (default=sudo),
valid choices: [ sudo | su | pbrun | pfexec | doas |
dzdo | ksu | runas | pmrun | enable | machinectl ]
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_ansible/pull/271 added
Updated by Marek Hulán over 4 years ago
- Fixed in Releases foreman_ansible 3.0.7 added
Updated by Nagoor Shaik over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_ansible|cebfe4d1ab160c229b52ca92faaf1db55381d938.
Updated by Marek Hulán over 4 years ago
- Fixed in Releases foreman-ansible 3.0.8 added
- Fixed in Releases deleted (
foreman_ansible 3.0.7)
Actions