Added YAML support to Host and Group variable data. User can enter variables in either format, UI will parse it and send to API as JSON. Fixed post to /hosts/N/variable_data and /groups/N/variable_data so that JSON is sent as an object rather than a string.

This commit is contained in:
chouseknecht
2013-06-11 17:23:08 -04:00
parent 65c8176507
commit c8c9e62b4c
10 changed files with 180 additions and 52 deletions

View File

@@ -51,7 +51,8 @@ angular.module('ansible', [
'JobEventFormDefinition',
'JobHostDefinition',
'GroupsHelper',
'HostsHelper'
'HostsHelper',
'ParseHelper'
])
.config(['$routeProvider', function($routeProvider) {
$routeProvider.