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/transport_config
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
..
README.md issue #536: add tests for each ansible_python_interpreter case. 6 years ago
all.yml Revert "Revert "fixed tests for ansible 2.12"" 3 years ago
become.yml tests: Print variables on failure of assert tasks 3 years ago
become_method.yml tests: Use meaningful play names 2 years ago
become_pass.yml ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence 2 years ago
become_user.yml tests: Use meaningful play names 2 years ago
password.yml tests/ansible: Spec.password() test, document interactive pw limitation. 6 years ago
port.yml tests: Enable stricter error handling, fix resulting failures 2 years ago
python_path.yml missed a few more tests 5 years ago
remote_addr.yml tests/ansible: Spec.remote_addr() test & mitogen_via= fix. 6 years ago
remote_user.yml tests: Enable stricter error handling, fix resulting failures 2 years ago
transport.yml tests/ansible: Spec.transport() test. 6 years ago
transport__smart.yml tests: Use meaningful play names 2 years ago

README.md

Tests for correct selection of connection variables.

This directory is a placeholder for a work-in-progress test set that tries every combination of the variables extracted via transport_config.py.

In the meantime, it has ad-hoc scripts for bugs already encountered.