stack/ansible/ansible.cfg

26 lines
786 B
INI
Raw Permalink Normal View History

[defaults]
inventory = inventory/hosts.ini
roles_path = roles
remote_user = tim
private_key_file = ~/.ssh/id_ed25519
host_key_checking = True
retry_files_enabled = False
# community.general.yaml was removed; use the built-in default callback's YAML format
stdout_callback = ansible.builtin.default
# (ansible-core 2.13+; ignored on older cores that don't know this key)
callback_result_format = yaml
interpreter_python = auto_silent
deprecation_warnings = False
# Faster on a single host
forks = 5
timeout = 30
[privilege_escalation]
# become is set per-play in site.yml (not global) so ad-hoc ping works without sudo
become_method = sudo
become_user = root
[ssh_connection]
pipelining = True
ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=accept-new