Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson a731be32a2 ansible: use _ansible_shell_executable in ScriptRunner.
Now we match Ansible error output and exit status. Ansible:

    $ ansible localhost -e end=2 -m custom_binary_single_null
    localhost | FAILED! => {
        "changed": false,
        "module_stderr": "Shared connection to localhost closed.\r\n",
        "module_stdout": "/bin/sh: /Users/dmw/.ansible/tmp/ansible-tmp-1522661797.42-158833651208060/custom_binary_single_null: cannot execute binary file\r\n",
        "msg": "MODULE FAILURE",
        "rc": 126
    }

Mitogen now:

    localhost | FAILED! => {
        "changed": false,
        "module_stderr": "/bin/sh: /var/folders/gw/f6w3dgy16fsg5y4kdthbqycw0000gn/T/ansible_mitogenAYF8LM-binary: cannot execute binary file\n",
        "module_stdout": "",
        "msg": "MODULE FAILURE",
        "rc": 126
    }

Previously:

    localhost | FAILED! => {
        "changed": false,
        "module_stderr": "<type 'exceptions.OSError'>: [Errno 8] Exec format error",
        "module_stdout": "",
        "msg": "MODULE FAILURE",
        "rc": 1
    }
7 years ago
ansible_mitogen ansible: use _ansible_shell_executable in ScriptRunner. 7 years ago
docs ansible: Add support for free strategy. 7 years ago
examples "examples": add perl script regression tests. 7 years ago
mitogen issue #106: add Service.__repr__, reply to bad calls 7 years ago
tests tests/bench: import "slightly more reliable time" script 7 years ago
.gitignore Ignore compiled Python files 7 years ago
.lgtm.yml compat: ignore LGTM checks on third party 7 years ago
.travis.yml travis: Cache wheels and other pip artifacts 7 years ago
LICENSE Add license text everywhere. 7 years ago
README.md README: move testing bits into tests directory. 7 years ago
dev_requirements.txt tests: Add coverage as a dev requirement 7 years ago
preamble_size.py Fix preamble_size.py. 7 years ago
setup.cfg tests: Switch to unit2 test runner, with coverage 7 years ago
setup.py setup: Scan project dir to find packages 7 years ago
test Set strict mode in test script 7 years ago
tox.ini tests: Switch to unit2 test runner, with coverage 7 years ago

README.md