Skip to content

Fix more version management bugs in test

b235b84
Select commit
Loading
Failed to load commit list.
Open

AAP-68210 Use FQCN throughout collection, and reduce dynamic templating in favor of release-based #16347

Fix more version management bugs in test
b235b84
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 11, 2026 in 45s

Quality Gate failed

Failed conditions
6 Security Hotspots
58.3% Coverage on New Code (required ≥ 80%)
E Maintainability Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 56 in awx_collection/plugins/module_utils/controller_api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC4oLoKQwZWp0yqI&open=AZzdlC4oLoKQwZWp0yqI&pullRequest=16347

Check warning on line 101 in awx_collection/plugins/modules/credential_type.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3hLoKQwZWp0ypY&open=AZzdlC3hLoKQwZWp0ypY&pullRequest=16347

Check warning on line 82 in awx_collection/plugins/modules/execution_environment.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3TLoKQwZWp0ypF&open=AZzdlC3TLoKQwZWp0ypF&pullRequest=16347

Check warning on line 395 in awx_collection/plugins/modules/job_template.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this dict constructor call by a dict literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2tLoKQwZWp0ynV&open=AZzdlC2tLoKQwZWp0ynV&pullRequest=16347

Check failure on line 733 in awx_collection/plugins/module_utils/controller_api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Unable to delete {0} {1}: {2}" 4 times.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC4oLoKQwZWp0yqF&open=AZzdlC4oLoKQwZWp0yqF&pullRequest=16347

Check warning on line 214 in awx_collection/plugins/modules/credential.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2bLoKQwZWp0ymw&open=AZzdlC2bLoKQwZWp0ymw&pullRequest=16347

Check warning on line 131 in awx_collection/plugins/modules/ad_hoc_command.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3MLoKQwZWp0yo2&open=AZzdlC3MLoKQwZWp0yo2&pullRequest=16347

Check warning on line 218 in awx_collection/plugins/modules/credential.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2bLoKQwZWp0ym0&open=AZzdlC2bLoKQwZWp0ym0&pullRequest=16347

Check warning on line 426 in awx_collection/plugins/modules/job_template.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2tLoKQwZWp0yn0&open=AZzdlC2tLoKQwZWp0yn0&pullRequest=16347

Check warning on line 128 in awx_collection/plugins/modules/ad_hoc_command.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3MLoKQwZWp0yoz&open=AZzdlC3MLoKQwZWp0yoz&pullRequest=16347

Check warning on line 51 in awx_collection/plugins/module_utils/controller_api.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC4oLoKQwZWp0yqG&open=AZzdlC4oLoKQwZWp0yqG&pullRequest=16347

Check warning on line 397 in awx_collection/plugins/modules/job_template.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2tLoKQwZWp0ynX&open=AZzdlC2tLoKQwZWp0ynX&pullRequest=16347

Check warning on line 81 in awx_collection/plugins/modules/host.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC27LoKQwZWp0yoQ&open=AZzdlC27LoKQwZWp0yoQ&pullRequest=16347

Check warning on line 189 in awx_collection/plugins/modules/job_launch.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3ELoKQwZWp0yof&open=AZzdlC3ELoKQwZWp0yof&pullRequest=16347

Check warning on line 408 in awx_collection/plugins/modules/job_template.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2tLoKQwZWp0yni&open=AZzdlC2tLoKQwZWp0yni&pullRequest=16347

Check warning on line 79 in awx_collection/plugins/modules/execution_environment.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3TLoKQwZWp0ypC&open=AZzdlC3TLoKQwZWp0ypC&pullRequest=16347

Check warning on line 215 in awx_collection/plugins/modules/bulk_job_launch.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2KLoKQwZWp0yme&open=AZzdlC2KLoKQwZWp0yme&pullRequest=16347

Check warning on line 420 in awx_collection/plugins/modules/job_template.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2tLoKQwZWp0ynu&open=AZzdlC2tLoKQwZWp0ynu&pullRequest=16347

Check warning on line 136 in awx_collection/plugins/modules/ad_hoc_command.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3MLoKQwZWp0yo7&open=AZzdlC3MLoKQwZWp0yo7&pullRequest=16347

Check warning on line 146 in awx_collection/plugins/modules/inventory.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC2iLoKQwZWp0ynD&open=AZzdlC2iLoKQwZWp0ynD&pullRequest=16347

Check warning on line 207 in awx_collection/plugins/modules/inventory_source.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC0YLoKQwZWp0ymW&open=AZzdlC0YLoKQwZWp0ymW&pullRequest=16347

Check warning on line 182 in awx_collection/plugins/modules/job_launch.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3ELoKQwZWp0yoY&open=AZzdlC3ELoKQwZWp0yoY&pullRequest=16347

Check warning on line 72 in awx_collection/plugins/modules/bulk_host_create.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC20LoKQwZWp0yoL&open=AZzdlC20LoKQwZWp0yoL&pullRequest=16347

Check warning on line 202 in awx_collection/plugins/modules/job_launch.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this constructor call with a literal.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC3ELoKQwZWp0yos&open=AZzdlC3ELoKQwZWp0yos&pullRequest=16347

Check failure on line 164 in awx_collection/plugins/modules/inventory_source.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=ansible_awx&issues=AZzdlC0YLoKQwZWp0yl9&open=AZzdlC0YLoKQwZWp0yl9&pullRequest=16347