mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Ship constants to the modules via internal module params rather than a secondary dict.
This commit is contained in:
@@ -400,7 +400,7 @@ def test_distribution_version():
|
||||
|
||||
from ansible.module_utils import basic
|
||||
|
||||
args = json.dumps(dict(ANSIBLE_MODULE_ARGS={}, ANSIBLE_MODULE_CONSTANTS={}))
|
||||
args = json.dumps(dict(ANSIBLE_MODULE_ARGS={}))
|
||||
with swap_stdin_and_argv(stdin_data=args):
|
||||
module = basic.AnsibleModule(argument_spec=dict())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user