ansible-mongodb:安装 MongoDB 的 Ansible 角色

时间:2021-06-10 02:09:57
【文件属性】:
文件名称:ansible-mongodb:安装 MongoDB 的 Ansible 角色
文件大小:10KB
文件格式:ZIP
更新时间:2021-06-10 02:09:57
MongoDB Ansible 角色从 RPM 包安装 MongoDB 并使用配置文件的 YAML 格式对其进行配置。 角色的配置是以这样一种方式完成的,即不需要为任何类型的配置更改角色。 所有这些都可以通过更改角色参数或通过将全新配置声明为变量来完成。 这使得这个角色绝对具有普遍性。 有关更多详细信息,请参阅下面的示例。 请报告任何问题或发送 PR。 例子 --- # Example of how to use the role with default parameters - hosts: myhost1 vars: # This is needed to make the init.d script working mongodb_processManagement_fork: true roles: - mongodb # The abov
【文件预览】:
ansible-mongodb-master
----handlers()
--------main.yaml(85B)
----tasks()
--------main.yaml(1KB)
----defaults()
--------main.yaml(12KB)
----templates()
--------mongod.conf.j2(287B)
--------mongod.sysconfig.j2(635B)
----LICENSE.md(1KB)
----.gitignore(0B)
----README.md(15KB)
----meta()
--------main.yml(410B)

网友评论