ansible-test - Deprecate the foreman test plugin (#79821)

pull/79827/head
Matt Clay 2 years ago committed by GitHub
parent 7e53ec3c01
commit 52d3d39ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,3 @@
deprecated_features:
- ansible-test - The ``foreman`` test plugin is now deprecated.
It will be removed in a future release.

@ -12,6 +12,10 @@ from ....containers import (
run_support_container,
)
from ....util import (
display,
)
from . import (
CloudEnvironment,
CloudEnvironmentConfig,
@ -50,6 +54,8 @@ class ForemanProvider(CloudProvider):
"""Setup cloud resource before delegation and reg cleanup callback."""
super().setup()
display.warning('The foreman test plugin is deprecated and will be removed in a future version of ansible-test.')
if self._use_static_config():
self._setup_static()
else:

Loading…
Cancel
Save