me小怪兽

导航

随笔分类 -  ansible

离线安装ansible
摘要:..... 阅读全文

posted @ 2022-11-21 21:46 me小怪兽 阅读(42) 评论(0) 推荐(0)

yum安装ansible
摘要:1、在hosts文件中为主机做解析2、安装epel源3、安装ansible4、配置公钥认证【非必须】ssh-keygen如未做公钥认证可使用-u -k选项指定账号和密码,且最好保证连接时不需要yes确认例:[root@localhost ~]# ansible 192.168.12.4 -m pin 阅读全文

posted @ 2022-11-21 21:46 me小怪兽 阅读(566) 评论(0) 推荐(0)