Commit Graph

749 Commits

Author SHA1 Message Date
David Wilson fad6eb1b47 Bump copyright year and use generic author name (testing Travis) 2021-01-14 20:07:47 +00:00
Steven Robertson f489478127 code cleanup + adds 0.2.10 + 0.3.0 changelog 2020-12-27 21:06:37 -08:00
Steven Robertson 8d3da2dbd2
Merge branch 'master' into patch-1 2020-12-23 17:36:49 -08:00
Alex Willmer 79b4c0f815 tests: Fix AttributeError in callback plugins used by test suite
CALLBACK_VERSION et al are documented as required in
https://docs.ansible.com/ansible/2.10/dev_guide/developing_plugins.html#callback-plugins.
The need for document_fragment is noted in
cfa8075537/lib/ansible/plugins/callback/default.py (L28-L32)

Fixes #758

This addresses the following error, seen while running
`ansible_tests.py`.

```
TASK [Gathering Facts gather_timeout=10, gather_subset=['all']]
****************
task path:
/home/alex/src/mitogen/tests/ansible/regression/issue_109__target_has_old_ansible_installed.yml:4
[WARNING]: Failure using method (v2_runner_on_start) in callback plugin
(<ansible.plugins.callback.nice_stdout.CallbackModule object at
0x7f76b3dad090>): 'show_per_host_start'
Callback Exception:
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py",
line 372, in send_callback
    method(*new_args, **kwargs)
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py",
line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py",
line 91, in get_option
    return self._plugin_options[k]
Callback Exception:
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py",
line 372, in send_callback
    method(*new_args, **kwargs)
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py",
line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py",
line 91, in get_option
    return self._plugin_options[k]
[task 339882] 00:00:08.172036 D ansible_mitogen.affinity: CPU mask for
WorkerProcess: 0x000004
Callback Exception:
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py",
line 372, in send_callback
    method(*new_args, **kwargs)
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/default.py",
line 240, in v2_runner_on_start
    if self.get_option('show_per_host_start'):
File
"/home/alex/src/mitogen/.tox/py27-ansible2.10/lib/python2.7/site-packages/ansible/plugins/callback/__init__.py",
line 91, in get_option
    return self._plugin_options[k]
```
2020-11-14 14:40:16 +00:00
Alex Willmer b0ce29dcfd ssh: Match newer ssh host key prompt that accepts the fingerprint
This fixes an ERROR in test_accept_enforce_host_keys() while running the
test suite.

Fixes #756
2020-11-08 20:49:50 +00:00
Steven Robertson 7d4a57d16a
Merge branch 'master' into patch-1 2020-09-20 15:17:02 -07:00
Nicolas Mattia 4d48f140a8 Fix typo in Ansible documentation 2020-06-26 12:21:44 +02:00
Luiz Ribeiro 0e47280e43
Fix mitogen_ssh_keepalive_interval documentation 2020-06-07 11:00:32 -04:00
Scott Buchanan fa7c0191ee
correct latest ansible version supported 2020-04-27 19:52:19 -04:00
Steven Robertson 2d7e019dd2
Update docs/ansible_detailed.rst
Co-Authored-By: Jacob Floyd <cognifloyd@gmail.com>
2020-03-17 21:09:13 -07:00
Steven Robertson 1dddfadf32 removing note saying ansible 2.8 interpreter discovery doesn't work 2020-02-05 15:28:29 -08:00
Steven Robertson e8f3154cab Merge branch 'master' into complexAnsiblePythonInterpreterArg 2019-11-15 16:08:51 -08:00
David Wilson d6329f3446 Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415 2019-11-02 16:46:59 +00:00
Steven Robertson bca9d9bf67 added info to ansible_detailed.rst explaining new ansible_python_interpreter functionality 2019-10-30 15:05:02 -07:00
David Wilson e3c514d906 issue #633: update Changelog. 2019-08-20 15:52:00 +01:00
David Wilson ed33236c71 docs: , -> : 2019-08-18 19:12:37 +01:00
David Wilson 9b79986859 docs: use new manpage alias in one more place 2019-08-18 19:12:37 +01:00
David Wilson 7a391022ef docs: update Changelog for 0.2.8. 2019-08-18 16:23:03 +01:00
David Wilson 4bd0a234ce docs: lots more changelog concision 2019-08-18 15:49:24 +01:00
David Wilson 8a11dea075 docs: changelog concision 2019-08-18 13:20:18 +01:00
David Wilson efe91092dc docs: more changelog tweaks 2019-08-18 02:00:21 +01:00
David Wilson 52c070efc0 docs: reorder chapters 2019-08-18 01:12:42 +01:00
David Wilson 8844d5f5cc docs: versionless <title> 2019-08-18 01:12:24 +01:00
David Wilson 9b6792829d docs: update supported Ansible version, mention unsupported features 2019-08-18 01:06:48 +01:00
David Wilson 80bc5c7d8b docs: changelog fixes/tweaks 2019-08-18 01:06:48 +01:00
David Wilson a56930e913 issue #590: update Changelog. 2019-08-18 01:06:48 +01:00
David Wilson 4caca80962 issue #627: reduce the default pool size in a child to 2.
Ansible has no blocking services running, or really any service that
would have an outsized benefit from multiple IO waiters. Probably we
only need 1, but let's start with 2 just in case.
2019-08-17 19:46:08 +01:00
David Wilson 26a9fed396 docs: some more hyperlink joy 2019-08-17 18:32:47 +01:00
David Wilson d75c9cffc3 docs: add domainrefs plugin to make link aliases everywhere \o/
PATENT PENDING
2019-08-17 18:32:47 +01:00
David Wilson 6b180a4091 docs: link IS_DEAD in changelog 2019-08-17 18:32:47 +01:00
David Wilson 01a1914a1f docs: tweaks to better explain changelog race 2019-08-17 18:32:47 +01:00
David Wilson bcca47df3c issue #533: update routing to account for DEL_ROUTE propagation race 2019-08-17 14:48:08 +01:00
David Wilson 207f57537a issue #615: update Changelog. 2019-08-17 03:35:19 +01:00
David Wilson 3c8c11b360 issue #615: update Changelog. 2019-08-17 03:16:41 +01:00
David Wilson db8f0db5e7 docs: lots more changelog 2019-08-15 02:35:23 +01:00
David Wilson 341c453eaa issue #595: add buildah to docs and changelog. 2019-08-15 02:35:23 +01:00
David Wilson e0d9b8d1e1 docs: a few more internals.rst additions 2019-08-14 12:47:23 +01:00
David Wilson 49796e0c39 docs: update changelog 2019-08-12 16:13:01 +01:00
David Wilson 8dfb3966df issue #558, #582: preserve remote tmpdir if caller did not supply one
The undocumented 'tmp' parameter controls whether _execute_module()
would delete anything on 2.3, so mimic that. This means
_execute_remove_stat() calls will not blow away the temp directory,
which broke the unarchive plugin.
2019-08-12 15:41:17 +01:00
David Wilson e12f391106 docs: mention another __main__ safeguard 2019-08-12 11:46:37 +01:00
David Wilson 1d41adb346 docs: tweaks 2019-08-12 11:46:37 +01:00
David Wilson 9cb187c2c4 formatting error 2019-08-12 11:46:37 +01:00
David Wilson 9b9fe57ea8 docs: make Sphinx install soft fail on Python 2. 2019-08-12 11:46:37 +01:00
David Wilson c89f6cbab6 issue #598: update Changelog. 2019-08-12 11:46:37 +01:00
David Wilson 240dc84d94 issue #605: update Changelog. 2019-08-10 23:57:35 +00:00
David Wilson 4fa760cd21 issue #613: add tests for all the weird shutdown methods 2019-08-10 20:30:24 +01:00
David Wilson 57012e0f72 Add mitogen.core.now() and use it everywhere; closes #614. 2019-08-10 17:36:10 +01:00
David Wilson 379dca90b9 docs: move decorator docs into core.py and use autodecorator 2019-08-10 17:21:11 +01:00
David Wilson a91a8bf19c docs: upgrade Sphinx to 2.1.2, require Python 3 to build docs. 2019-08-10 17:20:30 +01:00
David Wilson 93e8d5dfcc docs: fix Sphinx warnings, add LogHandler, more docstrings 2019-08-10 16:38:03 +01:00