diff --git a/changelogs/fragments/toml-no-preview.yml b/changelogs/fragments/toml-no-preview.yml new file mode 100644 index 00000000000..44149590f64 --- /dev/null +++ b/changelogs/fragments/toml-no-preview.yml @@ -0,0 +1,2 @@ +minor_changes: +- TOML inventory plugin is no longer in preview status diff --git a/lib/ansible/plugins/inventory/toml.py b/lib/ansible/plugins/inventory/toml.py index efbec372164..5389bf15197 100644 --- a/lib/ansible/plugins/inventory/toml.py +++ b/lib/ansible/plugins/inventory/toml.py @@ -106,11 +106,6 @@ except ImportError: display = Display() -WARNING_MSG = ( - 'The TOML inventory format is marked as preview, which means that it is not guaranteed to have a backwards ' - 'compatible interface.' -) - if HAS_TOML and hasattr(toml, 'TomlEncoder'): class AnsibleTomlEncoder(toml.TomlEncoder): @@ -232,8 +227,6 @@ class InventoryModule(BaseFileInventoryPlugin): 'The TOML inventory plugin requires the python "toml" library' ) - display.warning(WARNING_MSG) - super(InventoryModule, self).parse(inventory, loader, path) self.set_options()