ansible.cfg配置
一些莫名其妙的ansible报错都可以用这个默认配置解决,大家可以试试
#design by yanshunwen 20220825
[defaults]
interpreter_python = auto_legacy_silent
forks = 50
poll_interval = 15
sudo_user = root
ask_sudo_pass = False
ask_pass = False
transport = smart
remote_port = 22
module_lang = C
module_set_locale = False
host_key_checking = False
sudo_exe = sudo
timeout = 10
remote_user = sino
system_warnings = False
deprecation_warnings = False
command_warnings = False
[inventory]
[privilege_escalation]
[paramiko_connection]
[ssh_connection]
[persistent_connection]
[accelerate]
[selinux]
[colors]
[diff]
评论0
暂时没有评论