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

相关推荐
Warren9814 小时前
接口测试理论
docker·面试·职场和发展·eureka·ansible
MMME~1 天前
Ansible Playbook高效自动化实战指南
网络·自动化·ansible
信创天地12 天前
自动化运维利器赋能信创:Ansible与SaltStack在国产系统的部署与批量管理实战
运维·自动化·ansible
tritone13 天前
使用阿贝云免费云服务器学习Ansible的实践与感受
服务器·学习·ansible
~黄夫人~15 天前
Ansible自动化运维:快速入门,从 “批量化执行” 开始
运维·自动化·ansible
~黄夫人~15 天前
Ansible 自动化运维:从 “手动输密码” 到 “一键免密管理”
linux·运维·自动化·ansible
王九思15 天前
Ansible 自动化运维介绍
运维·自动化·ansible
shawnyz16 天前
RHCSE--ansible1-入门和模块
linux·运维·ansible
AOwhisky17 天前
Ansible管理变量和事实(管理变量部分) & 部署文件到受管主机
前端·chrome·ansible
shawnyz17 天前
RHCSE--ansible2--剧本
linux·运维·服务器·ansible