mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Add refresh_inventory flag for job_template callback to refresh inventory before trying to find a matching host.
This commit is contained in:
@@ -25,7 +25,7 @@ angular.module('JobTemplatesHelper', ['Utilities'])
|
||||
scope.setCallbackHelp = function() {
|
||||
scope.callback_help = "<p>With a provisioning callback URL and a host config key a host can contact Tower and request a configuration update using this job " +
|
||||
"template. The request from the host must be a POST. Here is an example using curl:</p>\n" +
|
||||
"<pre>curl --data \"host_config_key=\"" + scope.example_config_key + "\" " +
|
||||
"<pre>curl --data \"host_config_key=" + scope.example_config_key + "\" " +
|
||||
scope.callback_server_path + GetBasePath('job_templates') + scope.example_template_id + "/callback/</pre>\n" +
|
||||
"<p>Note the requesting host must be defined in the inventory associated with the job template. If Tower fails to " +
|
||||
"locate the host, the request will be denied.</p>" +
|
||||
|
||||
Reference in New Issue
Block a user