1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 21:33:11 +00:00

actually make backwards compat

This commit is contained in:
Brian Coca 2026-05-18 18:38:46 -04:00
parent e0a570f110
commit eaeb92a8f6
No known key found for this signature in database

View file

@ -159,7 +159,9 @@ def main():
module.fail_json(msg="path not found or not accessible!")
if state == 'read' and key is None:
#NOTE: This is backwards compatible, but should go away once we deprecate and remove 'info states'
module.warn('No key provided for state "read", assuming you really want "all"')
state == 'all'
changed = False
msg = ""