Description
ISSUE TYPE
- Bug Report
SUMMARY
The repository lacks SSH optimization configurations in the ansible.cfg file.
Specifically;
ControlMaster and ControlPersist options are not set in the ssh_args configuration. These options enable persistent SSH connections, which significantly improve performance by reducing the overhead of establishing a new connection for each task.
pipelining is not set to true. Enabling pipelining reduces the number of SSH operations required to execute tasks, further enhancing execution speed.
The absence of these optimizations impacts performance negatively, particularly in environments with many hosts or complex tasks.
EXPECTED RESULTS
The ansible.cfg file should include the following optimizations to improve SSH performance:
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=60s
Enable Pipelining: Set pipelining to true in the [defaults] section:
[defaults]
pipelining = true
ACTUAL RESULTS
performance impact due to lack of SSH optimization config
Metadata
Metadata
Assignees
Type
Projects
Status
No status