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/regression
Alex Willmer 53b4881628 ansible_mitogen: Fix wait_for_connection + templated ansible_python_interpreter
This tightens up our monkey patching `Connection._action` so it's only applied
during `meta: reset_connection` & promptly removed. This fixes "'int' object
has no attribute 'template'" when `ansible.plugins.action.wait_for_connection`
or other code calls `ansible.plugins.connection.ConnectionBase.reset()`.

This could also have switched to `templar=templar` on the temporary action,
rather than `templar=0`, but it's not strictly necessary to fix this bug. I
anticipate other changes doing so soon, to improve interpreter discovery &
templated python interpreter path support.
1 year ago
..
files CI: Fix tests on Linux, Ansible tests targetting Debian 9 & 11 2 years ago
scripts tests: Pythonize print_env.sh. 7 years ago
templates ansible_mitogen: Add regression test for ActionModuleMixin._remote_chmod() 1 year ago
_mitogen_only.yml tests: Replace uses of ``include:``, unify skipping of mitogen only tests 2 years ago
all.yml ansible_mitogen: Fix wait_for_connection + templated ansible_python_interpreter 1 year ago
become_test.yml ansible_mitogen: Fix --ask-become-pass, add test coverage 2 years ago
issue_109__target_has_old_ansible_installed.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_113__duplicate_module_imports.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_118__script_not_marked_exec.yml tests: Tag Ansible tests 4 years ago
issue_122__environment_difference.yml tests: Tag Ansible tests 4 years ago
issue_140__thread_pileup.yml tests: Fix duplicate local task executions 2 years ago
issue_152__local_action_wrong_interpreter.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_152__virtualenv_python_fails.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_154__module_state_leaks.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_177__copy_module_failing.yml tests: Name tasks 3 years ago
issue_332_ansiblemoduleerror_first_occurrence.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_558_unarchive_failed.yml tests: Name tasks 3 years ago
issue_590__sys_modules_crap.yml tests: Improve Ansible fail_msg formatting 1 year ago
issue_591__setuptools_cwd_crash.yml CI: Migrate macOS integration tests to macOS 12, drop Python 2.7 jobs 1 year ago
issue_615__streaming_transfer.yml tests: Fix duplicate local task executions 2 years ago
issue_655__wait_for_connection_error.yml CI: Migrated macOS 12 runners to macOS 13, due to EOL. 1 year ago
issue_776__load_plugins_called_twice.yml Ansible 10 (ansible-core 2.17) support 1 year ago
issue_952__ask_become_pass.yml tests: Use same verbosity when re-executing Ansible inside a playbook 2 years ago
issue_1066__add_host__host_key_checking.yml Ansible 10 (ansible-core 2.17) support 1 year ago
issue_1079__wait_for_connection_timeout.yml ansible_mitogen: Fix wait_for_connection + templated ansible_python_interpreter 1 year ago
issue_1087__template_streamerror.yml ansible_mitogen: Add regression test for ActionModuleMixin._remote_chmod() 1 year ago
template_test.yml ansible_mitogen: Add regression test for ActionModuleMixin._remote_chmod() 1 year ago