技术栈

ansible中waring处理方式

睡不醒的猪儿2023-10-21 22:51

[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

上一篇:【React】高频面试题
下一篇:Java 8 新特性 Ⅰ
相关推荐
孪生质数-
6 天前
Ansible基础入门
服务器·自动化·ansible·openstack
Empty_777
6 天前
Ansible变量
服务器·github·ansible
哲Zheᗜe༘
6 天前
学习Ansible Playbook 核心语法
网络·学习·ansible
凤凰战士芭比Q
7 天前
Ansible剧本、变量、判断、循环
ansible
凤凰战士芭比Q
7 天前
Ansible(安装、配置文件、命令行、常用模块)
linux·ansible
早睡冠军候选人
11 天前
Ansible学习----管理复杂的 Play 和 Playbook 内容
运维·学习·云原生·ansible
雨奔
11 天前
ansible使用教程
ansible
凡间客
12 天前
Ansible安装与入门
linux·运维·ansible
LoneEon
12 天前
告别手动操作:用 Ansible 统一管理你的 Ubuntu 服务器集群
运维·服务器·ansible
Empty_777
12 天前
Ansible之Playbook简单应用
网络·ansible
热门推荐
01GitHub 镜像站点02【保姆级教程】免费使用Gemini3的5种方法!免翻墙/国内直连03BongoCat - 跨平台键盘猫动画工具04UV安装并设置国内源05安娜的档案(Anna’s Archive) 镜像网站/国内最新可访问入口(持续更新)06Linux下V2Ray安装配置指南07Google Antigravity:无法登录?早期错误、登录修复和用户反馈指南08Labelme从安装到标注:零基础完整指南09全球最强模型Grok4,国内已可免费使用!(附教程)10在VSCode配置Java开发环境的保姆级教程(适配各类AI编程IDE)