autonomic.gandi/test/conftest.py

10 lines
223 B
Python
Raw Permalink Normal View History

2020-03-28 16:55:36 +00:00
import json
from ansible.module_utils import basic
from ansible.module_utils._text import to_bytes
def set_module_args(args):
args = json.dumps({"ANSIBLE_MODULE_ARGS": args})
2020-03-28 16:55:36 +00:00
basic._ANSIBLE_ARGS = to_bytes(args)