02 2021 档案

摘要:[root@27 ~]# cat install-httpd.sh #!/bin/bash PS3="请选择MPM模式:" cpus=`lscpu | grep 'CPU(s)'| head -1 | awk '{print $2}'` dist=`lsb_release -a | grep 'Di 阅读全文
posted @ 2021-02-28 20:46 windman 阅读(360) 评论(0) 推荐(0)
摘要:#!/bin/bash IP=" 10.0.0.18 10.0.0.28 " pwd=xyz #export SSHPASS=xyz [ -f /root/.ssh/id_rsa ] || ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa &> /dev/null & 阅读全文
posted @ 2021-02-22 22:13 windman 阅读(75) 评论(0) 推荐(0)
摘要:##模块用法查看: ansible-doc module_name 详细用法 ansible-doc -s module_name 简单用法 ##常用模块 ping: 测试模块,not icmp ping,测试ansible之间的ssh通信 command: 默认模块 chdir、argv、crea 阅读全文
posted @ 2021-02-18 17:14 windman 阅读(191) 评论(0) 推荐(0)