【发布时间】:2020-03-06 17:43:12
【问题描述】:
Ansible 支持用 Python 编写的自定义模块。
对于非本地的执行类型(本地意味着connection: local & hosts: localhost),每次播放都将ssh 的python 包ansible 到远程节点。
ansible 是否支持在 Go 中编写模块?
如果是,这些模块可以是远程执行类型吗?因为 Go 工件是二进制工件。
【问题讨论】:
-
github.com/vrutkovs/golang-modules-in-ansible
标签: go ansible ansible-2.x ansible-template ansible-role