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 27b4b77bba CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04
Python 2.7 (distro package) and 3.6 (pyenv managed) jobs run on Ubuntu 22.04.
More recent Pythons (distro or Github provided) run on 24.04.

fixes #1256

Ansible tasks that run locally (e.g. `connection: local`, `delegate_to:
localhost`) must now specify their `ansible_python_interpreter`, typically as
`{{ ansible_playbook_python }}`; otherwise the system Python on the controller
(e.g. `/usr/bin/python`) is likely to be used and this is often outside the
version range supported by the Ansible verison under test. If this occurs then
the symptom is often a failure to import a builtin from
`ansible.module_utils.six.moves`, e.g.

```
fatal: [target-centos6-1]: FAILED! => changed=true
  cmd:
  - ansible
  - -m
  - shell
  - -c
  - local
  - -a
  - whoami
  - -i
  - /tmp/mitogen_ci_ansibled3llejls/hosts
  - test-targets
  delta: '0:00:02.076385'
  end: '2025-04-17 17:27:02.561500'
  msg: non-zero return code
  rc: 8
  start: '2025-04-17 17:27:00.485115'
  stderr: |-
  stderr_lines: <omitted>
  stdout: |-
    An exception occurred during task execution. To see the full traceback,
    use -vvv. The error was:     from ansible.module_utils.six.moves import
    map, reduce, shlex_quote
```
8 months ago
..
action Support Ansible 11 (ansible-core 2.18) 1 year ago
async tests: Improve Ansible fail_msg formatting 1 year ago
become Support Ansible 11 (ansible-core 2.18) 1 year ago
connection CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
connection_delegation ansible_mitogen: Support templated SSH port 1 year ago
connection_loader tests: Improve Ansible fail_msg formatting 1 year ago
context_service CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
glibc_caches tests: Improve Ansible fail_msg formatting 1 year ago
interpreter_discovery trivia: Fix trailing whitespace 1 year 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: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
runner CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
ssh CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
strategy CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
stub_connections CI: Upgrade Github jobs from Ubuntu 20.04 to 22.04 & 24.04 8 months ago
transport tests: Improve Ansible fail_msg formatting 1 year ago
transport_config tests: Name transport_config tests that involve mitogen_via 11 months ago
_expected_ssh_port.yml ansible_mitogen: Support templated SSH port 1 year 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