ansible中waring处理方式

[WARNING]: Platform linux on host 192.168.100.20 is using the discovered Python interpreter at /usr/bin/python3, but future

installation of another Python interpreter could change this. See

https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information.

处理方式:

bash 复制代码
vim ansible.cfg
在defaults下面添加以下内容
#############
interpreter_python = auto_legacy_silent
############

再次执行不会出现WARNING

相关推荐
袁煦丞 cpolar内网穿透实验室2 天前
ansible批量自动化清理服务器日志+远程管理!cpolar 内网穿透实验室第 710 个成功挑战
服务器·自动化·ansible·远程工作·内网穿透·cpolar
人间打气筒(Ada)3 天前
ansible之role角色
运维·ansible·自动化运维·template·role·红帽·批量部署
酷酷的崽7983 天前
Ansible解锁便捷运维新方式,内网 NAS 也能远程管
运维·服务器·ansible
WJ.Polar3 天前
Ansible Ad-Hoc命令
linux·运维·网络·ansible
zmjjdank1ng3 天前
如何保证ansible的幂等性
linux·服务器·ansible
梅孔立16 天前
Ansible 100 台服务器一键管控实战 进阶版
服务器·git·ansible
henry10101019 天前
Ansible自动化运维全攻略(AI生成)
linux·运维·python·ansible·devops
only_Klein22 天前
Ansible变量详解
运维·自动化·ansible
only_Klein22 天前
Ansible Roles 详解
自动化·ansible·role
only_Klein22 天前
Ansible 条件判断与流程控制详解
自动化·ansible