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))
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))