issue #340: one more test, update Changelog.

pull/350/head
David Wilson 6 years ago
parent 916e46621b
commit ad365dad56

@ -33,6 +33,11 @@ v0.2.3 (2018-08-??)
Mitogen for Ansible Mitogen for Ansible
~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~
* `#251 <https://github.com/dw/mitogen/issues/251>`_,
`#340 <https://github.com/dw/mitogen/issues/340>`_: Connection Delegation
could establish connections to the wrong target when ``delegate_to:`` is
present.
* `#291 <https://github.com/dw/mitogen/issues/291>`_: when Mitogen had * `#291 <https://github.com/dw/mitogen/issues/291>`_: when Mitogen had
previously been installed using ``pip`` or ``setuptools``, the globally previously been installed using ``pip`` or ``setuptools``, the globally
installed version could conflict with a newer version bundled with an installed version could conflict with a newer version bundled with an

@ -18,6 +18,13 @@
- name: integration/delegation/stack_construction.yml - name: integration/delegation/stack_construction.yml
hosts: cd-normal hosts: cd-normal
tasks:
# used later for local_action test.
- local_action: custom_python_detect_environment
register: local_env
- hosts: cd-normal
any_errors_fatal: true any_errors_fatal: true
tasks: tasks:
- mitogen_get_stack: - mitogen_get_stack:
@ -281,6 +288,24 @@
] ]
- hosts: cd-newuser-normal-normal
tasks:
- local_action: mitogen_get_stack
register: out
- assert:
that: |
out.result == [
{
'kwargs': {
'python_path': [
hostvars['cd-normal'].local_env.sys_executable
],
},
'method': 'local',
},
]
- hosts: cd-newuser-doas-normal - hosts: cd-newuser-doas-normal
tasks: tasks:
- mitogen_get_stack: - mitogen_get_stack:

Loading…
Cancel
Save