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

相关推荐
NJCloud2 天前
Ansible(三)——Zabbix 监控系统部署与敏感信息加密
linux·运维·chrome·信息可视化·ansible·zabbix
小张同学a.2 天前
练习:用 playbook 部署 zabbix 和 tidb
ansible·zabbix·tidb
NJCloud2 天前
Ansible(四)——基于 Ansible Roles 的标准化运维任务编排实践
linux·运维·ansible
小张同学a.2 天前
Ansible自动化运维实战3——变量分离、Roles 角色开发与 Git 托管分发实战
运维·服务器·自动化·ansible·playbook·role
酷可达拉斯2 天前
自动化运维-Ansible Role详解
linux·运维·服务器·自动化·ansible
lsh曙光3 天前
Ansible Playbook剧本(1)
ansible
其实防守也摸鱼3 天前
使用 Ansible 批量更新服务器 SSL/TLS 证书实战指南
服务器·网络协议·学习·安全·web安全·ansible·ssl
lsh曙光4 天前
ansible部署
ansible
-今昭-5 天前
Ansible
linux·运维·ansible
众人皆醒我独醉5 天前
GPU 集群 IaC:Terraform + Ansible 部署自动化
面试·ansible·gpu