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 f1503874de ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence
Until Ansible 2.9 it looks like ansible_become_password had higher priority.
From Ansible 2.10 ansible_become_pass has higher priority [1]. Mitogen was not
respecting this.

I may need to rework this further, instatiating the become plugin may have
slowed down execution.

[1] Based on testing with

```
[ubuntus]
become-pass-pass ansible_become_pass=1234
become-pass-password ansible_become_password=1234
become-pass-both ansible_become_password=wrong ansible_become_pass=1234

[ubuntus:vars]
ansible_host=ubuntu2004.local
ansible_user=ubuntu
```
```
- hosts: ubuntus
  gather_facts: false
  become: true
  tasks:
    - ping:
```
2 years ago
..
group_vars tests: Regression test for #776 (package/yum/dnf module called twice) 2 years ago
become_same_user.hosts issue #499: respect C.BECOME_ALLOW_SAME_USER. 5 years ago
connection_delegation.hosts tests: clean up / deduplicate Ansible inventory. 5 years ago
default.hosts tests: allow running Ansible tests locally without -udmw again. 5 years ago
issue340 ansible: use template-expanded delegate_to hostname in one more location. 6 years ago
k3.hosts tests: clean up / deduplicate Ansible inventory. 5 years ago
localhost.hosts issue #536: stop defining explicit localhost in inventory. 5 years ago
osa-containers ansible: use template-expanded delegate_to hostname in one more location. 6 years ago
transport_config.hosts ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence 2 years ago