adding pbrun radio option and input fields

This commit is contained in:
Jared Tabor
2015-03-27 17:42:04 -04:00
parent cd39b2e2e9
commit 1b9c050dc8
3 changed files with 30 additions and 2 deletions

View File

@@ -290,6 +290,9 @@ export default
}, {
label: 'Su',
value: 'su'
},{
label: 'Pbrun',
value: 'pbrun'
}],
awPopOver: "<p><b>Sudo:</b> Optionally specify a username for sudo operations. This is equivalent to specifying the <code>ansible-playbook --sudo-user</code> parameter.<br /><b>Su:</b> Optionally specify a username for su operations. This is equivalent to specifying the <code>ansible-playbook --su-user</code> parameter.",
dataPlacement: 'right',
@@ -331,6 +334,24 @@ export default
hasShowInputButton: true,
autocomplete: false
},
"pbrun_username": {
label: 'Pbrun Username',
type: 'text',
ngShow: "kind.value == 'ssh' && login_method == 'pbrun'",
addRequired: false,
editRequired: false,
autocomplete: false
},
"pbrun_password": {
label: 'Pbrun Password',
type: 'sensitive',
ngShow: "kind.value == 'ssh' && login_method == 'pbrun'",
addRequired: false,
editRequired: false,
ask: true,
hasShowInputButton: true,
autocomplete: false
},
"project": {
label: "Project",
type: 'text',