08 2017 档案
摘要:#!/usr/bin/env python #-*- coding:utf-8 -*- #Author: Fonzie import smtplib,string from email.mime.text import MIMEText mail_list = ['test@qq.com'] mail_host = "smtp.qq.com" mail_user = "my_mail_add...
阅读全文
摘要:1、saltstack的一个比较突出的优势是具备执行远程命令的功能,操作方法与func(https://fedorahosted.org/func/)类是 命令格式: salt '<操作目标>' <方法>[参数] 查看被控主机的内存使用情况 # salt '*' cmd.run 'free -h'
阅读全文
摘要:# salt "*" sys.list_modules jenkins: - aliases - alternatives - archive - at - cmd - config - cp - cron - daemontools - data - debconf - dig - disk -
阅读全文
posted @ 2017-08-16 18:17
Vperson

浙公网安备 33010602011771号