摘要:
阿里源 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak curl http://mirrors.aliyun.com/repo/Centos-7.repo -o /etc/yum.repos.d/C 阅读全文
摘要:
ansible -i hosts 172.16.100.197 -m setup # -i 指定 hosts 文件, ansible webServer -m command -a 'echo 123456 |passwd --stdin yunwei' # 配置密码 ansible -i host 阅读全文