[defaults] inventory = inventory.ini host_key_checking = False timeout = 30 gathering = smart fact_caching = memory # 支持新的 playbooks 目录结构 roles_path = playbooks/ collections_path = playbooks/ [ssh_connection] ssh_args = -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no pipelining = True [inventory] # 启用插件以支持动态 inventory enable_plugins = host_list, script, auto, yaml, ini, toml