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:
```
2022-07-24 10:14:50 +01:00
..
README.md issue #536: add tests for each ansible_python_interpreter case. 2019-02-12 00:12:25 +00:00
all.yml Revert "Revert "fixed tests for ansible 2.12"" 2021-12-12 22:12:01 +01:00
become.yml tests: Print variables on failure of assert tasks 2021-09-07 22:10:25 +01:00
become_method.yml tests: Use meaningful play names 2022-07-17 13:44:05 +01:00
become_pass.yml ansible_mitogen: Correct ansible_become_pass/ansible_become_password precendence 2022-07-24 10:14:50 +01:00
become_user.yml tests: Use meaningful play names 2022-07-17 13:44:05 +01:00
password.yml tests/ansible: Spec.password() test, document interactive pw limitation. 2019-02-12 16:04:05 +00:00
port.yml tests: Enable stricter error handling, fix resulting failures 2022-07-17 13:44:05 +01:00
python_path.yml missed a few more tests 2020-03-15 11:15:56 -07:00
remote_addr.yml tests/ansible: Spec.remote_addr() test & mitogen_via= fix. 2019-02-12 14:45:46 +00:00
remote_user.yml tests: Enable stricter error handling, fix resulting failures 2022-07-17 13:44:05 +01:00
transport.yml tests/ansible: Spec.transport() test. 2019-02-12 14:33:36 +00:00
transport__smart.yml tests: Use meaningful play names 2022-07-17 13:44:05 +01:00

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.