mirror of
https://github.com/ansible/awx.git
synced 2026-08-07 05:11:43 -02:30
include tower header to insights on plan fetch
* We include a special header value in the user agent when tower proxies requests to get per-host rules. * This extends that header logic to when we fetch plans (playbooks)
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
# scm_revision: current revision in tower
|
||||
# scm_revision_output: where to store gathered revision (temporary file)
|
||||
# roles_enabled: Allow us to pull roles from a requirements.yml file
|
||||
# awx_version: Current running version of the awx or tower as a string
|
||||
# awx_license_type: "open" for AWX; else presume Tower
|
||||
|
||||
- hosts: all
|
||||
connection: local
|
||||
@@ -110,6 +112,8 @@
|
||||
username: "{{scm_username}}"
|
||||
password: "{{scm_password}}"
|
||||
project_path: "{{project_path}}"
|
||||
awx_license_type: "{{awx_license_type}}"
|
||||
awx_version: "{{awx_version}}"
|
||||
register: results
|
||||
|
||||
- name: Save Insights Version
|
||||
|
||||
Reference in New Issue
Block a user