From 84521b714fa79404b6d7b3d9e397eb0bd956431d Mon Sep 17 00:00:00 2001 From: David Wilson Date: Mon, 20 Aug 2018 13:40:48 +0100 Subject: [PATCH] docs: update changelog. --- docs/changelog.rst | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 64dfd471..ea44f73c 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -37,10 +37,18 @@ Mitogen for Ansible * `#321 `_, `#336 `_: temporary file handling - has been simplified and additional network roundtrips have been removed, - undoing earlier damage caused by compatibility fixes, and improving 2.6 - compatibility. One directory is created at startup for each persistent - interpreter. See :ref:`ansible_tempfiles` for a complete description. + was simplified, undoing earlier damage caused by compatibility fixes, + improving 2.6 compatibility, and avoiding two network roundtrips for every + related action + (`assemble `_, + `aws_s3 `_, + `copy `_, + `patch `_, + `script `_, + `template `_, + `unarchive `_, + `uri `_). See + :ref:`ansible_tempfiles` for a complete description. * `#324 `_: plays with a custom ``module_utils`` would fail due to fallout from the Python 3 port and related @@ -48,8 +56,8 @@ Mitogen for Ansible * `#331 `_: fixed known issue: the connection multiplexer subprocess always exits before the main Ansible - process exits, ensuring logs generated by it do not overwrite the user's - prompt when ``-vvv`` is enabled. + process, ensuring logs generated by it do not overwrite the user's prompt + when ``-vvv`` is enabled. * `#332 `_: support a new :data:`sys.excepthook`-based module exit mechanism added in Ansible 2.6. @@ -69,6 +77,12 @@ Mitogen for Ansible yes`` option is no longer supplied to OpenSSH by default, more closely mimicking Ansible's default behaviour. +* `084c0ac0 `_: avoid a + needless roundtrip for each invocation of the + `copy `_ and + `template `_ + actions, due to an unfortunate default parameter. + * Runs with many targets executed the module dependency scanner redundantly due to missing synchronization, causing significant wasted computation in the connection multiplexer subprocess. For one real-world playbook the scanner @@ -77,7 +91,7 @@ Mitogen for Ansible * A missing check caused an exception traceback to appear when using the ``ansible`` command-line tool with a missing or misspelled module name. -* Ansible since >2.6 began importing ``__main__`` from +* Ansible since >=2.7 began importing ``__main__`` from ``ansible.module_utils.basic``, causing an error during execution, due to the controller being configured to refuse network imports outside the ``ansible.*`` namespace. Update the target implementation to construct a stub