We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b87cb54 + 29eb6a1 commit 23eef5cCopy full SHA for 23eef5c
1 file changed
scripts/aws/uid2-operator-ami/ansible.cfg
@@ -0,0 +1,14 @@
1
+# Raise the connection timeout from the default 10s.
2
+# fixes "Timeout (12s) waiting for privilege escalation prompt" since May 2026
3
+[defaults]
4
+timeout = 60
5
+
6
+# Reuse one persistent SSH connection for the whole play
7
+# (ControlMaster/ControlPersist) and pipe module execution over it (pipelining)
8
+# so we pay the slow SSM setup once instead of per task. ServerAlive keepalives
9
+# generate traffic so a long-running task's session isn't idle-reaped.
10
+# Intends to solve an issue where the playbook hangs, seemingly due to the above SSM
11
+# setup time.
12
+[ssh_connection]
13
+pipelining = True
14
+ssh_args = -o ControlMaster=auto -o ControlPersist=600s -o ServerAliveInterval=30 -o ServerAliveCountMax=20
0 commit comments