Remove preview status from TOML inventory (#70770)

pull/70776/head
Matt Martz 4 years ago committed by GitHub
parent 1e3989c9f7
commit eb06488e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

Loading…
Cancel
Save