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
    }
6 years ago
ansible_mitogen ansible: use _ansible_shell_executable in ScriptRunner. 6 years ago
docs ansible: Add support for free strategy. 6 years ago
examples "examples": add perl script regression tests. 6 years ago
mitogen issue #106: add Service.__repr__, reply to bad calls 6 years ago
tests tests/bench: import "slightly more reliable time" script 6 years ago
.gitignore Ignore compiled Python files 6 years ago
.lgtm.yml compat: ignore LGTM checks on third party 6 years ago
.travis.yml travis: Cache wheels and other pip artifacts 6 years ago
LICENSE Add license text everywhere. 6 years ago
README.md README: move testing bits into tests directory. 6 years ago
dev_requirements.txt tests: Add coverage as a dev requirement 6 years ago
preamble_size.py Fix preamble_size.py. 6 years ago
setup.cfg tests: Switch to unit2 test runner, with coverage 6 years ago
setup.py setup: Scan project dir to find packages 6 years ago
test Set strict mode in test script 6 years ago
tox.ini tests: Switch to unit2 test runner, with coverage 6 years ago

README.md