本文共 528 字,大约阅读时间需要 1 分钟。
1. saltstack安装
- https://repo.saltproject.io/#rhel
- sudo rpm --import https://repo.saltproject.io/py3/redhat/7/x86_64/latest/SALTSTACK-GPG-KEY.pub
- curl -fsSL https://repo.saltproject.io/py3/redhat/7/x86_64/latest.repo | sudo tee /etc/yum.repos.d/salt.repo
- yum install salt-master -y
- yum install salt-minion -y
2. saltstack配置
# master/etc/salt/masterinterface: 0.0.0.0publish_port: 4505ret_port: 4506worker_threads: 5
# minion/etc/salt/minionmaster: 192.168.43.128id: 192.168.43.129
3. Master上查看minion列表
4. 接收所有的minion
salt-key -A
转载地址:http://aszsi.baihongyu.com/