playbooks/ansible.cfg
2026-04-10 17:55:36 +08:00

27 lines
723 B
INI
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[defaults]
# 常用参数
# 默认清单文件路径,可按需改
inventory = ./inventory.ini
timeout = 10
forks = 10
poll_interval = 10
transport = smart
gathering = smart
# 输出配置:使用 ansible-core 内置 callback避免在轻量 CI 环境里缺少额外插件
stdout_callback = default
bin_ansible_callbacks = True
callbacks_enabled = profile_tasks,timer
# Python 解释器
ansible_python_interpreter = /usr/bin/python3
# 其他常用设置
host_key_checking = False
deprecation_warnings = False
[inventory]
cache = True
cache_plugin = jsonfile
cache_timeout = 3600