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/become
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
..
all.yml ansible_mitogen: Support templated become_user 2 months ago
su_password.yml tests: Improve Ansible fail_msg formatting 2 months ago
sudo_flags_failure.yml tests: Improve Ansible fail_msg formatting 2 months ago
sudo_nonexistent.yml tests: Improve Ansible fail_msg formatting 2 months ago
sudo_nopassword.yml tests: Improve Ansible fail_msg formatting 2 months ago
sudo_password.yml tests: Improve Ansible fail_msg formatting 2 months ago
sudo_requiretty.yml tests: Replace uses of ``include:``, unify skipping of mitogen only tests 8 months ago
templated_by_inv.yml ansible_mitogen: Support templated become_user 2 months ago
templated_by_play_keywords.yml ansible_mitogen: Support templated become_user 2 months ago
templated_by_play_vars.yml ansible_mitogen: Support templated become_user 2 months ago
templated_by_task_keywords.yml ansible_mitogen: Support templated become_user 2 months ago