摘要: # 1. 安装saltstack # rpm --import https://repo.saltstack.com/yum/redhat/6/x86_64/latest/SALTSTACK-GPG-KEY.pub # # """ Master: yum install salt-master Master准备: a. 配置文件,... 阅读全文
posted @ 2018-10-24 11:01 小金鱼呀 阅读(394) 评论(0) 推荐(0) 编辑
摘要: # 基于paramiko模块, pip3 install paramiko import requests import paramiko # ################## 获取今日未采集主机名 ################## #result = requests.get('http://www.127.0.0.1:8000/assets.html') # result = ['... 阅读全文
posted @ 2018-10-24 11:00 小金鱼呀 阅读(283) 评论(0) 推荐(0) 编辑