Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter "timeout" of module "ansible.builtin.wait_for_connection" is ignored #1249

Open
setpill opened this issue Feb 13, 2025 · 0 comments
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome

Comments

@setpill
Copy link

setpill commented Feb 13, 2025

We have a task at the start of every deployment that tests for the presence of legacy credentials. It is of the form:

- name: Determine hosts with "{{ legacy_user }}" credentials
  ansible.builtin.wait_for_connection:
    timeout: 1
  register: legacy_reachable
  ignore_errors: yes
  vars:
    ansible_user: "{{ legacy_user }}"
    ansible_password: "{{ legacy_pass }}"

Without mitogen, this task returns in 1 second. With mitogen, it takes over 1 minute.

I had hoped a #1200 might fix this, however even with mitogen 0.3.22 it is still slow.

@setpill setpill added affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome
Projects
None yet
Development

No branches or pull requests

1 participant