From 2b3ab9f18a477bc301aadbe042dbeb5f34e0dac1 Mon Sep 17 00:00:00 2001 From: Nick Carboni Date: Fri, 27 Mar 2020 11:36:36 -0400 Subject: [PATCH] Add additional privilege escalation methods Changed this list to match the output of `ansible-doc -t become -l` from our latest appliance Fixes https://github.com/ManageIQ/manageiq/issues/18470 --- .../embedded_ansible/automation_manager/machine_credential.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb index eb217e903fd..1a4c8cd4032 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/machine_credential.rb @@ -32,7 +32,7 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::MachineCredential :type => :choice, :label => N_('Privilege Escalation'), :help_text => N_('Privilege escalation method'), - :choices => ['', 'sudo', 'su', 'pbrun', 'pfexec'] + :choices => ['', 'sudo', 'su', 'pbrun', 'pfexec', 'doas', 'dzdo', 'pmrun', 'runas', 'enable', 'ksu', 'sesu', 'machinectl'] }, :become_username => { :type => :string,