From fbe1d64ed21f21d4308b72d81fd49f636f1dd7c2 Mon Sep 17 00:00:00 2001
From: Ken Hoes Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two. View JSON examples at www.json.org Enter variables using either JSON or YAML syntax. Use the " +
"radio button to toggle between the two. View JSON examples at www.json.org Provide key/value pairs using either YAML or JSON.
\n" +
- "{
\n" +
+ "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}{
\n" +
"YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
\n" +
"---
\n" +
'
somevar: somevalue
password: magic
\n" +
- "{
\n" +
+ "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}{
\n" +
"YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
\n" +
"---
\n" +
'
somevar: somevalue
password: magic
\n" +
- "{
\n" +
+ "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}{
\n" +
"YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
\n" +
"---
\n",
dataContainer: 'body'
@@ -193,7 +193,7 @@ export default
"view ec2.ini in the Ansible github repo.
somevar: somevalue
password: magic
Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + @@ -219,7 +219,7 @@ export default "view vmware.ini in the Ansible github repo." + "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + diff --git a/awx/ui/client/src/forms/Hosts.js b/awx/ui/client/src/forms/Hosts.js index 0efc38c4b6..c7a63c5a1f 100644 --- a/awx/ui/client/src/forms/Hosts.js +++ b/awx/ui/client/src/forms/Hosts.js @@ -64,7 +64,7 @@ export default "default": "---", awPopOver: "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + @@ -87,7 +87,7 @@ export default }, cancel: { ngClick: 'formCancel()', - ngDisabled: true + ngDisabled: true } }, diff --git a/awx/ui/client/src/forms/Inventories.js b/awx/ui/client/src/forms/Inventories.js index 20ee5db148..e1ee63a3d3 100644 --- a/awx/ui/client/src/forms/Inventories.js +++ b/awx/ui/client/src/forms/Inventories.js @@ -55,7 +55,7 @@ export default "default": "---", awPopOver: "Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + diff --git a/awx/ui/client/src/forms/JobTemplates.js b/awx/ui/client/src/forms/JobTemplates.js index 9185d73e90..fd3afd5b52 100644 --- a/awx/ui/client/src/forms/JobTemplates.js +++ b/awx/ui/client/src/forms/JobTemplates.js @@ -248,7 +248,7 @@ export default awPopOver: "Pass extra command line variables to the playbook. This is the -e or --extra-vars command line parameter " + "for ansible-playbook. Provide key/value pairs using either YAML or JSON.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n", dataTitle: 'Extra Variables', diff --git a/awx/ui/client/src/forms/Projects.js b/awx/ui/client/src/forms/Projects.js index cf75609b1a..c6f814f253 100644 --- a/awx/ui/client/src/forms/Projects.js +++ b/awx/ui/client/src/forms/Projects.js @@ -206,7 +206,7 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition']) type: 'number', integer: true, min: 0, - ngShow: "scm_update_on_launch", + ngShow: "scm_update_on_launch && projectSelected", spinner: true, "default": '0', addRequired: false, diff --git a/awx/ui/client/src/helpers/JobSubmission.js b/awx/ui/client/src/helpers/JobSubmission.js index 82dd577869..f185231c40 100644 --- a/awx/ui/client/src/helpers/JobSubmission.js +++ b/awx/ui/client/src/helpers/JobSubmission.js @@ -496,7 +496,7 @@ function($compile, Rest, GetBasePath, TextareaResize,CreateDialog, GenerateForm, "
somevar: somevalue
password: magic
Extra variables are passed as command line variables to the playbook run. It is equivalent to the -e or --extra-vars " + "command line parameter for ansible-playbook. Provide key/value pairs using either YAML or JSON.
" + "JSON:{\n" + + "
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
{\n" + "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n"; diff --git a/awx/ui/client/src/scheduler/schedulertime.block.less b/awx/ui/client/src/scheduler/schedulertime.block.less index a40c018249..1557d37a74 100644 --- a/awx/ui/client/src/scheduler/schedulertime.block.less +++ b/awx/ui/client/src/scheduler/schedulertime.block.less @@ -10,7 +10,6 @@ span.ui-spinner.ui-widget.ui-widget-content.ui-corner-all { flex: 1; - width: 100%; } .SchedulerTime-separator {
somevar: somevalue
password: magic