ansible-test - Specify config path in plugin error (#79881)

pull/79887/head
Matt Clay 2 years ago committed by GitHub
parent 91807695c3
commit d48d1c23df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
minor_changes:
- "ansible-test - Specify the configuration file location required by test plugins when the config file is not found.
This resolves issue: https://github.com/ansible/ansible/issues/79411"

@ -288,14 +288,14 @@ class CloudProvider(CloudBase):
exclude.append(skip)
if not self.uses_docker and self.uses_config:
display.warning('Excluding tests marked "%s" which require config (see "%s"): %s'
% (skip.rstrip('/'), self.config_template_path, ', '.join(skipped)))
display.warning('Excluding tests marked "%s" which require a "%s" config file (see "%s"): %s'
% (skip.rstrip('/'), self.config_static_path, self.config_template_path, ', '.join(skipped)))
elif self.uses_docker and not self.uses_config:
display.warning('Excluding tests marked "%s" which requires container support: %s'
% (skip.rstrip('/'), ', '.join(skipped)))
elif self.uses_docker and self.uses_config:
display.warning('Excluding tests marked "%s" which requires container support or config (see "%s"): %s'
% (skip.rstrip('/'), self.config_template_path, ', '.join(skipped)))
display.warning('Excluding tests marked "%s" which requires container support or a "%s" config file (see "%s"): %s'
% (skip.rstrip('/'), self.config_static_path, self.config_template_path, ', '.join(skipped)))
def setup(self) -> None:
"""Setup the cloud resource before delegation and register a cleanup callback."""

Loading…
Cancel
Save