Skip to content

Instantly share code, notes, and snippets.

@dw

dw/a.py Secret

Last active July 11, 2018 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dw/3755015863492746433238691187b3cc to your computer and use it in GitHub Desktop.
Save dw/3755015863492746433238691187b3cc to your computer and use it in GitHub Desktop.
ansible_mitogen.target.run_module(kwargs={
u'cwd': None,
u'emulate_tty': True,
u'env': {},
u'extra_env': None,
u'interpreter': None,
u'interpreter_arg': None,
u'json_args': {
"_ansible_version": "2.5.5",
"warn": True,
"_uses_shell": True,
"_ansible_no_log": False,
"_ansible_module_name": "command",
"_raw_params": "echo hi",
"_ansible_verbosity": 3,
"_ansible_syslog_facility": "LOG_USER",
"_ansible_socket": None,
"_ansible_selinux_special_fs": [
"fuse",
"nfs",
"vboxsf",
"ramfs",
"9p"
],
"_ansible_diff": False,
"_ansible_debug": False,
"_ansible_shell_executable": "/bin/sh",
"_ansible_check_mode": False,
"_ansible_tmpdir": None
}
u'module': u'command',
u'module_map': {
u'builtin': [
u'ansible.module_utils._text',
u'ansible.module_utils.basic',
u'ansible.module_utils.parsing',
u'ansible.module_utils.parsing.convert_bool',
u'ansible.module_utils.pycompat24',
u'ansible.module_utils.six'
],
u'custom': []
},
u'path': u'/Users/dmw/src/mitogen/.venv/lib/python2.7/site-packages/ansible/modules/commands/command.py',
u'runner_name': u'NewStyleRunner',
u'service_context': Context(0, None),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment