Remove preview status from TOML inventory (#70770)

This commit is contained in:
Matt Martz 2020-07-20 16:47:29 -05:00 committed by GitHub
parent 1e3989c9f7
commit eb06488e1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- TOML inventory plugin is no longer in preview status

View file

@ -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()