随笔分类 - ansible
摘要:ansible 安装 yum安装 yum -y install epel-release sudo yum install ansible ubuntu $ sudo apt-get install software-properties-common $ sudo apt-add-reposito
阅读全文
posted @ 2020-06-24 13:27
Lust4Life
摘要:ansible-galaxy https://galaxy.ansible.com/ 帮助文档: https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#finding-collections-on-galaxy 使用示例 示例来
阅读全文
posted @ 2020-06-24 13:15
Lust4Life
摘要:supervisor可以默认使用Python2, 案例使用了离线安装 虽然测试了,但是实际上安装pip 和 supervisor 中有意外产生,离线安装pip 时最好使用yum安装,rpm 有时会失败 目录结构: [root@mini-install supervisor]# tree . ├──
阅读全文
posted @ 2020-06-19 18:30
Lust4Life
摘要:工作机制:ssh 无客户端 工作方式: 1,CMDB 2,公有云私有云API 3,使用ad hoc 4,ansible playbook ansible 执行命令,底层调用传输连接模块,将命令或文件传输至远程服务器的/tmp目录,远程执行,操作完后删除,返回结果。 配置文件 /etc/ansible
阅读全文

浙公网安备 33010602011771号