コード例 #1
0
ファイル: psexec.py プロジェクト: sektor1100/ansible-mikrotik
def remove_artifacts(module, client):
    try:
        client.remove_service()
    except (SMBException, PypsexecException) as exc:
        module.warn("Failed to cleanup PAExec service and executable: %s" %
                    to_text(exc))
コード例 #2
0
ファイル: psexec.py プロジェクト: awiddersheim/ansible
def remove_artifacts(module, client):
    try:
        client.remove_service()
    except (SMBException, PypsexecException) as exc:
        module.warn("Failed to cleanup PAExec service and executable: %s"
                    % to_text(exc))