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.
mitogen/ansible_mitogen
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
..
plugins ansible: Add support for free strategy. 6 years ago
__init__.py ansible: restructure to avoid intermediate imports 6 years ago
connection.py issue 106: ansible: make the context name available 6 years ago
helpers.py ansible: fix low_level_execute_command regression. 6 years ago
logging.py ansible: Move setLevel() bits together. 6 years ago
mixins.py ansible: fix _make_tmp_path() regression on 2.3.x. 6 years ago
planner.py ansible: match Ansible behaviour when script lacks interpreter line. 6 years ago
process.py issue #106: partially working BinaryRunner/Planner. 6 years ago
runner.py ansible: use _ansible_shell_executable in ScriptRunner. 6 years ago
services.py issue #106: get FileService working. 6 years ago
strategy.py ansible: Add support for free strategy. 6 years ago