Files
computer-playbook/ansible.cfg
evangelostsak 95cfc8b7bd fix(ansible): profile every task, not the slowest 300
The callback truncated its summary, so a deploy's per-task table was
only ever its own top 300. Comparing two transports needs the tasks the
truncation dropped, and 'all' is a value the plugin handles explicitly.
2026-10-07 09:54:32 +02:00

40 lines
1.1 KiB
INI

[defaults]
# --- Performance & Behavior ---
pipelining = True
forks = 25
strategy = linear
gathering = smart
timeout = 120
retry_files_enabled = False
host_key_checking = True
deprecation_warnings = True
interpreter_python = auto_silent
no_target_syslog = True
collections_paths = ./collections:~/.ansible/collections:/usr/share/ansible/collections
roles_path = ./roles
# --- Output & Profiling ---
stdout_callback = ansible.builtin.default
callback_result_format = yaml
bin_ansible_callbacks = True
callbacks_enabled = profile_tasks,profile_roles,timer
# --- Plugin paths ---
action_plugins = ./plugins/action
filter_plugins = ./plugins/filter
lookup_plugins = ./plugins/lookup
library = ./library
module_utils = ./utils
[callback_profile_tasks]
task_output_limit = all
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=20s -o ControlPath=~/.ssh/ansible-%h-%p-%r -o ServerAliveInterval=15 -o ServerAliveCountMax=3 -o StrictHostKeyChecking=accept-new -o PreferredAuthentications=publickey,password,keyboard-interactive
pipelining = True
transfer_method = smart
[persistent_connection]
connect_timeout = 30
command_timeout = 60