mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
Make sure the insight playbook fetch doesn't quote user and pass
This commit is contained in:
@@ -124,8 +124,8 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{{insights_url}}/r/insights/v3/maintenance/{{item.maintenance_id}}/playbook"
|
url: "{{insights_url}}/r/insights/v3/maintenance/{{item.maintenance_id}}/playbook"
|
||||||
dest: "{{project_path|quote}}/{{item.name}}-{{item.maintenance_id}}.yml"
|
dest: "{{project_path|quote}}/{{item.name}}-{{item.maintenance_id}}.yml"
|
||||||
url_username: "{{scm_username|quote}}"
|
url_username: "{{scm_username}}"
|
||||||
url_password: "{{scm_password|quote}}"
|
url_password: "{{scm_password}}"
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
force: yes
|
force: yes
|
||||||
when: scm_type == 'insights' and item.name != None
|
when: scm_type == 'insights' and item.name != None
|
||||||
@@ -136,8 +136,8 @@
|
|||||||
get_url:
|
get_url:
|
||||||
url: "{{insights_url}}/r/insights/v3/maintenance/{{item.maintenance_id}}/playbook"
|
url: "{{insights_url}}/r/insights/v3/maintenance/{{item.maintenance_id}}/playbook"
|
||||||
dest: "{{project_path|quote}}/insights-plan-{{item.maintenance_id}}.yml"
|
dest: "{{project_path|quote}}/insights-plan-{{item.maintenance_id}}.yml"
|
||||||
url_username: "{{scm_username|quote}}"
|
url_username: "{{scm_username}}"
|
||||||
url_password: "{{scm_password|quote}}"
|
url_password: "{{scm_password}}"
|
||||||
force_basic_auth: yes
|
force_basic_auth: yes
|
||||||
force: yes
|
force: yes
|
||||||
when: scm_type == 'insights' and item.name == None
|
when: scm_type == 'insights' and item.name == None
|
||||||
|
|||||||
Reference in New Issue
Block a user