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/integration
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
..
action tests: Improve Ansible fail_msg formatting 2 months ago
async tests: Improve Ansible fail_msg formatting 2 months ago
become ansible_mitogen: Support templated become_user 2 months ago
connection tests: Improve Ansible fail_msg formatting 2 months ago
connection_delegation ansible_mitogen: Support templated SSH port 2 months ago
connection_loader tests: Improve Ansible fail_msg formatting 2 months ago
context_service tests: Improve Ansible fail_msg formatting 2 months ago
glibc_caches tests: Improve Ansible fail_msg formatting 2 months ago
interpreter_discovery trivia: Fix trailing whitespace 2 months ago
local tests: Improve Ansible fail_msg formatting 2 months ago
module_utils tests: Improve Ansible fail_msg formatting 2 months ago
playbook_semantics tests: Improve Ansible fail_msg formatting 2 months ago
process tests: Use same verbosity when re-executing Ansible inside a playbook 7 months ago
runner tests: Improve Ansible fail_msg formatting 2 months ago
ssh tests: Templated connection keywords with delegated_to 2 months ago
strategy tests: Improve Ansible fail_msg formatting 2 months ago
stub_connections tests: Improve Ansible fail_msg formatting 2 months ago
transport tests: Improve Ansible fail_msg formatting 2 months ago
transport_config ansible_mitogen: Support templated SSH port 2 months ago
_expected_ssh_port.yml ansible_mitogen: Support templated SSH port 2 months ago
_mitogen_only.yml issue #536: add mitogen_via= tests too. 6 years ago
all.yml Revert "Revert "fixed tests for ansible 2.12"" 3 years ago