随笔分类 -  ansible

摘要:[root@ansible ~]# vim /etc/ansible/hosts [webservers] 10.0.0.150 ansible_connection=local 10.0.0.160 #创建角色相关目录 [root@ansible html]# mkdir -pv /data/an 阅读全文
posted @ 2023-10-08 09:49 小糊涂90 阅读(34) 评论(0) 推荐(0) 编辑
摘要:常用模块帮助文档参考: https://docs.ansible.com/ansible/2.9/modules/modules_by_category.html https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.htm 阅读全文
posted @ 2023-10-08 09:49 小糊涂90 阅读(10) 评论(0) 推荐(0) 编辑
摘要:1.安装ansible在zabbix-server上 #1.安装ansible在zabbix-server上 root@zabbix-server ~]#yum install -y ansible #选择yum安装,安装好源,直接安装会出现下面的问题原因是yum源里的版本低于2.12,需要配置源 阅读全文
posted @ 2023-10-08 09:30 小糊涂90 阅读(238) 评论(0) 推荐(0) 编辑
摘要:#安装mysql5.6 [root@ansible ~]#ls -l /data/ansible/files/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz -rw-r--r-- 1 root root 403177622 Dec 4 13:05 /data/a 阅读全文
posted @ 2023-10-07 15:04 小糊涂90 阅读(63) 评论(0) 推荐(0) 编辑
摘要:[root@ansible ~]# vim /etc/ansible/hosts [webservers] 10.0.0.150 ansible_connection=local 10.0.0.160 #创建角色相关目录 [root@ansible html]# mkdir -pv /data/an 阅读全文
posted @ 2023-10-07 15:04 小糊涂90 阅读(18) 评论(0) 推荐(0) 编辑
摘要:常用模块帮助文档参考: https://docs.ansible.com/ansible/2.9/modules/modules_by_category.html https://docs.ansible.com/ansible/2.9/modules/list_of_all_modules.htm 阅读全文
posted @ 2021-11-11 22:21 小糊涂90 阅读(28) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示