autonomic.gandi/test/conftest.py
Luke Murphy d430e3ffbb
All checks were successful
continuous-integration/drone/push Build is passing
Improve env var management for LEXICON vars
2020-03-29 09:07:36 +02:00

10 lines
223 B
Python

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})
basic._ANSIBLE_ARGS = to_bytes(args)