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

相关推荐
User_芊芊君子3 天前
让异构增量同步飞起来-KFS全链路并行同步方案
运维·自动化·ansible
あ-5 天前
ansible-playbook安装seaweedfs三节点集群
ansible
Tassel_YUE7 天前
非 ansible 主机批量执行命令方法:psssh 和 pscp(随手记)
linux·网络·ssh·scp·ansible
亿朝亿夕16 天前
ansible安装
ansible
.柒宇.17 天前
运维常见面试题_07_配置管理与监控(Ansible · Prometheus · Alertmanager)· 容器编排(Kubernetes)
运维·k8s·ansible·prometheus
相顾若初见17 天前
Ansible部署k8s
容器·kubernetes·ansible
wzq11_66618 天前
ansible部署项目——基于tidb数据库安装zabbix_server
ansible·zabbix·tidb
吃不吃早饭18 天前
RHEL9 搭建 Harbor 私有仓库与 Ansible 自动化部署 Kubernetes 运行环境完整实践
kubernetes·自动化·ansible
wzq11_66618 天前
Ansible自动部署Redis——六步自动安装Redis数据库
ansible
mohesashou19 天前
红帽linux的K8S部署
linux·kubernetes·ansible