Describe the bug
There are many downlaod requests for setup.py when running ansible test. These downloads seem to be reinstalling, but locally, azure-cli-core and azure-cli-telemetry have already been installed
sample as:
>>12:13:26 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 394ms
12:13:26 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 12b 82ms
12:14:11 HTTPS HEAD …sercontent.com / 301 [no content] 5ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-core/setup.py 200 text/plain 1.3k 4ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-telemetry/setup.py 200 text/plain 677b 5ms
12:14:11 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 257ms
Related command
Use CLI auth to run ansible playbook(Used Python-SDK)
Errors
Issue script & Debug output
ansible-playbook test.yml
- name: Using Azure collectionins/modules']
hosts: localhost
collections:
- azure.azcollection
vars:
resource_group: testRG
tasks:
- name: Get the resource group facts
azure_rm_resourcegroup_info:
name: "{{ resource_group }}"
auth_source: cli
### Expected behavior
```e.g.
The expected result does not have the following three lines:
12:14:11 HTTPS HEAD …sercontent.com / 301 [no content] 5ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-core/setup.py 200 text/plain 1.3k 4ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-telemetry/setup.py 200 text/plain 677b 5ms
```e.g.
Expected result:
>>12:13:26 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 394ms
12:14:11 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 257ms
Environment Summary
azure-cli 2.76.0
azure-cli-core 2.76.0
azure-cli-telemetry 1.1.0
Additional context
sample as:
>>12:13:26 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 394ms
12:13:26 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 12b 82ms
12:14:11 HTTPS HEAD …sercontent.com / 301 [no content] 5ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-core/setup.py 200 text/plain 1.3k 4ms
12:14:11 HTTPS GET …sercontent.com /Azure/azure-cli/main/src/azure-cli-telemetry/setup.py 200 text/plain 677b 5ms
12:14:11 HTTPS GET …ment.azure.com /subscriptions/xxxxxxxxxxxxxxxxxxxxx/resour… 200 …plication/json 217b 257ms
Describe the bug
There are many downlaod requests for setup.py when running ansible test. These downloads seem to be reinstalling, but locally,
azure-cli-coreandazure-cli-telemetryhave already been installedRelated command
Use CLI auth to run ansible playbook(Used Python-SDK)
Errors
Issue script & Debug output
ansible-playbook test.yml
Environment Summary
azure-cli 2.76.0
azure-cli-core 2.76.0
azure-cli-telemetry 1.1.0
Additional context