salt cmd.run 禁用命令
> vim salt/utils/args.py# ++ def valid_cmd_arg(args): ''' Valid cmd arg ''' # 禁用包含的命令,可自定义 ilLegCmds = ['init', 'shutdown'] for arg in args: shell_cmd = arg.lower...
https://docs.saltstack.com/en/latest/ref/configuration/master.html
https://docs.saltstack.com/en/latest/ref/configuration/master.htmlhttp://blog.chinaunix.net/uid-10915175-id-4352504.htmlinterface0.0.0.0(所有的网络地址接口)interface:192.168.0.1绑定到本地的某个网络地址接口pidfile...
saltstack异步执行命令: job ID
saltstack异步执行命令# salt --async '192.168.1.11' grains.item IDC departmentExecuted command with job ID: 20160329142612103914# salt-run jobs.lookup_jid 20160329142612103914