mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-06-18 05:43:10 +00:00
actually make backwards compat
This commit is contained in:
parent
e0a570f110
commit
eaeb92a8f6
1 changed files with 2 additions and 0 deletions
|
|
@ -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 = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue