Skip to content

Update ansible.cfg with timeout parameter. #289

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

Merged
merged 1 commit into from
Oct 23, 2024
Merged

Update ansible.cfg with timeout parameter. #289

merged 1 commit into from
Oct 23, 2024

Conversation

cniket
Copy link
Contributor

@cniket cniket commented Oct 17, 2024

Sometimes the task execution fails with below error because the default timeout value for connection plugin is 10s.

FAILED! => { "msg": "Timeout (12s) waiting for privilege escalation prompt: " }

This patch is to increase the timeout value to 60s in the working directory's ansible.cfg that solves the issue.

Sometimes the task execution fails with below error;
`
"msg": "ERROR! Timeout (12s) waiting for privilege escalation prompt: "
`
Increasing the default timeout to 60s in ansible.cfg solves the issue.
@cniket cniket self-assigned this Oct 17, 2024
@cniket cniket requested a review from jeremymv2 October 17, 2024 07:10
@cniket cniket merged commit 66786ec into master Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants