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/tests/ansible/hosts
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 months ago
..
group_vars CI: Use archived RPMs on CentOS 8 4 months ago
become_same_user.hosts tests: Bypass interpreter discovery on non-existant connection delegation targets 4 months ago
connection_delegation.hosts tests: Bypass interpreter discovery on non-existant connection delegation targets 4 months ago
default.hosts ansible_mitogen: Support templated become_user 2 months ago
issue340 ansible: use template-expanded delegate_to hostname in one more location. 6 years ago
k3.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 2 months ago
localhost.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 2 months ago
osa-containers.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 2 months ago
transport_config.hosts tests: Add regression for add_host with host_key_checking 7 months ago