ansible执行命令,提示输入yes/no
2016-07-27 17:24
1386 查看
执行 # ansible IP地址 -m command -a 'date'
paramiko: The authenticity of host '10.252.129.216' can't be established.
The ssh-rsa key fingerprint is cef5f02a439420eab5472a6384d14ddc.
Are you sure you want to continue connecting (yes/no)?
我不想输入yes或者no,取消这个提示,怎么办?
很简单,修改ansible.cfg的#host_key_checking= False取消注释,即可。
paramiko: The authenticity of host '10.252.129.216' can't be established.
The ssh-rsa key fingerprint is cef5f02a439420eab5472a6384d14ddc.
Are you sure you want to continue connecting (yes/no)?
我不想输入yes或者no,取消这个提示,怎么办?
很简单,修改ansible.cfg的#host_key_checking= False取消注释,即可。
相关文章推荐
- 基于 ANSIBLE 自动化运维实践
- 集群运维自动化工具ansible之使用playbook安装zabbix客户端
- linux 自动化运维工具ansible的使用详细教程
- Python利用ansible分发处理任务
- Puppet,Chef,Ansible的共性
- Ansible中Playbook方法的标准输出定义
- Ansible之playbook自动完成硬盘分区,格式化,挂盘,并远程创建用户
- 关于ansible2.0版本的ansible-playbook方法的调用
- Ansible
- 自动化运维学习--python
- ansible常用模块用法
- ansible学习笔记(四):when在include中使用
- ansible学习记录
- 浅谈开源工具自动化运维阶段
- linux ansible 自动化部署工具
- 节点配置文件(Inventory) 详解
- Ansible 安装与简单使用
- ansibel安装过程
- 自动化运维工具ansible学习+使用ansible批量推送公钥到远程主机[学习马哥]