随笔分类 - Python
摘要:#!/usr/bin/env python # import mitogen.master import mitogen.select import subprocess import logging import mitogen.utils import time import os def read_local(): with open('/Users/Redheat/Downlo...
阅读全文
摘要:原生的ansible不支持service.status,在Google之后,发现有人提交了一个patch,可以支持status选项.见https://github.com/ritzk/ansible-modules-core/commit/ab4c9c226e94371c2b60aab57ef5b0
阅读全文