Project

General

Profile

Actions

Bug #26850

closed

Ansible become_method doesn't inherit the settings from REX settings

Added by Nagoor Shaik almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

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 ]

Actions #1

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
Actions #2

Updated by Marek Hulán over 4 years ago

  • Fixed in Releases foreman_ansible 3.0.7 added
Actions #3

Updated by Nagoor Shaik over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Nagoor Shaik over 4 years ago

  • Bugzilla link set to 1728612
Actions #5

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

Also available in: Atom PDF