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
Alex Willmer bf6607e27e ansible_mitogen: Support templated become_user
This reads the become username from the `become_user` attribute of the play
context, to the `"become_user"` option of the loaded become plugin. This has
been supported by vanilla Ansible since Ansible 2.10 (ansible-base 2.10).

To support this I've also switched from using the `play_context.become` (a
bool), to `connection.become` (an instance of the appropriate) become plugin.

New tests have been added, modelled on those for templated connection
parameters (see #1147, #1153, #1159).

See
- 480b106d65

refs #1083

Co-authored-by: mordek <m.pirog@bonasoft.pl>
2 weeks ago
..
compat Remove vendored mitogen.compat.simplejson 2 years ago
plugins ansible_mitogen: Handle templated connection passwords and ansible_ssh_password 3 weeks ago
utils ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 7 months ago
__init__.py ansible: restructure to avoid intermediate imports 7 years ago
affinity.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 month ago
connection.py ansible_mitogen: Support templated become_user 2 weeks ago
loaders.py Ansible 10 (ansible-core 2.17) support 3 months ago
logging.py ansible_mitogen: Remove fallback imports for Ansible < 2.10 1 month ago
mixins.py ansible_mitogen: Support templated become_user 2 weeks ago
module_finder.py mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 8 months ago
parsing.py ansible_mitogen: Standardise __future__ imports to match Ansible 3 years ago
planner.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 month ago
process.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 month ago
runner.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 month ago
services.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 month ago
strategy.py ansible_mitogen: Standardise __future__ imports to match Ansible 3 years ago
target.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 month ago
transport_config.py ansible_mitogen: Support templated become_user 2 weeks ago