随笔分类 - 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
阅读全文
摘要:常用模块帮助文档参考: 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
阅读全文
摘要:1.安装ansible在zabbix-server上 #1.安装ansible在zabbix-server上 root@zabbix-server ~]#yum install -y ansible #选择yum安装,安装好源,直接安装会出现下面的问题原因是yum源里的版本低于2.12,需要配置源
阅读全文
摘要:#安装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
阅读全文
摘要:[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
阅读全文
摘要:常用模块帮助文档参考: 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
阅读全文