mirror of
https://github.com/ansible/awx.git
synced 2026-03-25 12:55:04 -02:30
adding 'become' privilege escalation on cred
and on job template adding a flag for enabling 'become' escalation.
This commit is contained in:
@@ -844,14 +844,8 @@ function($compile, Rest, GetBasePath, TextareaResize,CreateDialog, GenerateForm,
|
||||
if(data.ssh_key_unlock === "ASK"){
|
||||
passwords.push("ssh_key_unlock");
|
||||
}
|
||||
if(data.sudo_password === "ASK"){
|
||||
passwords.push("sudo_password");
|
||||
}
|
||||
if(data.su_password === "ASK"){
|
||||
passwords.push("su_password");
|
||||
}
|
||||
if(data.pbrun_password === "ASK"){
|
||||
passwords.push("pbrun_password");
|
||||
if(data.become_password === "ASK"){
|
||||
passwords.push("become_password");
|
||||
}
|
||||
if(data.vault_password === "ASK"){
|
||||
passwords.push("vault_password");
|
||||
|
||||
Reference in New Issue
Block a user