【文件属性】:
文件名称:ansible-module-etcd:用于操作 etcd 密钥的 Ansible 模块
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-09 08:04:17
ansible-module-etcd
用于操作 etcd 密钥的 Ansible 模块
TODO:添加测试
德普
该模块依赖于python-etcd并requests安装的包。 它们必须在本地安装,因为有问题的任务被委派给 localhost。
请务必将它们添加到您的requirements.txt :
# requirements.txt
requests >= 2.4
python-etcd >= 0.3.2
例子
示例剧本用法:
---
- hosts : ' {{ server }} '
tasks :
- name : set value in etcd
etcd :
state=present
host=my-etcd-host.example.com
port=4001
key
【文件预览】:
ansible-module-etcd-master
----.gitignore(675B)
----README.md(773B)
----LICENSE(18KB)
----etcd(5KB)