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 9609437262 CI: Use 2025.02 test images, keeping same OS releases
centos8-test:2025.02 no longer has a /usr/bin/python installed, so use
centos8-py3 target which sets `ansible_python_interpreter=/usr/bin/python3` in
the templated inventory.

Ansible <= 9 (ansible-core <= 2.6) now discover the interpreter as
/usr/bin/python3 on debian11-test:2025.02, as opposed to
/usr/bin/python3.9 on debian11-test:2021. I'm don't know the exact
cause. From manual tests the change in observed behaviour appears to be common to
vanilla Ansible (strategy=linear) and Mitogen flavour
(strategy=mitogen_linear).

```console
(ans9) ➜  mitogen git:(4efb7158) ✗ ANSIBLE_STRATEGY=mitogen_linear ANSIBLE_STRATEGY_PLUGINS=ansible_mitogen/plugins/strategy ans9/bin/ansible -e ansible_python_interpreter=auto -mping d11.lan
d11.lan | SUCCESS => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "ping": "pong"
}
(ans9) ➜  mitogen git:(4efb7158) ✗ ans9/bin/ansible -e ansible_python_interpreter=auto -mping d11.lan
d11.lan | SUCCESS => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "ping": "pong"
}
```

Update some tests which assume `/usr/bin/python` exists or that `env python`
will resolve successfully.
1 month ago
..
action CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
async CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
become tests: Only test doas on targets with doas binary installed 1 month ago
connection CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
connection_delegation ansible_mitogen: Support ANSIBLE_SSH_VERBOSITY with Ansible >= 12 6 months ago
connection_loader tests: Improve Ansible fail_msg formatting 1 year ago
context_service CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
glibc_caches tests: Improve Ansible fail_msg formatting 1 year ago
interpreter_discovery CI: Use 2025.02 test images, keeping same OS releases 1 month ago
local CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
module_utils tests: Improve Ansible fail_msg formatting 1 year ago
playbook_semantics CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
process CI: replace stdout=yaml with result_format=yaml for Ansible >= 6 tests 7 months ago
runner CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
ssh ansible_mitogen: Support ANSIBLE_SSH_VERBOSITY with Ansible >= 12 6 months ago
strategy CI: Skip tests that require Mitogen when Ansible strategy is linear 7 months ago
stub_connections CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
transport tests: Improve Ansible fail_msg formatting 1 year ago
transport_config CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
_expected_ssh_port.yml CI: Fix ansible_version comparison with ansible-core 2.19.0rc1 6 months ago
_mitogen_only.yml issue #536: add mitogen_via= tests too. 7 years ago
all.yml Revert "Revert "fixed tests for ansible 2.12"" 4 years ago