摘要:
1、ansible all -m shll -a "chdir=/opt mkdir hadoop" 创建放置安装包目录 2、ansible all -m copy -a "src=/root/packet/ dest=/opt/hadoop" 批量下发部署包 3、ansible all -m sh 阅读全文
摘要:
#!/bin/bash #by wwp 2020-10-14 #useradd.py password=6 user=hadoop for ip in `cat ~/scripts/ip.list` do { ssh -Tq $ip id $user &>/dev/null ssh -Tq $ip 阅读全文