filviu.activemq
Ansible 角色:Apache ActiveMQ
从二进制 tgz 安装 Apache ActiveMQ。
需求
无。
角色变量
以下是一些有趣的变量及其默认值(完整列表请查看 defaults/main.yml
):
activemq_version: 5.15.13
您希望安装的版本。这也会影响安装路径。
activemq_install_path: /opt
安装 activemq 的路径。它将是 /SOME_PATH/apache-activemq-x.yy.z
activemq_user: apachemq
activemq_group: apachemq
设置文件和启动 activemq 的用户和组。
activemq_force_install: false
除非此设置为 true,否则如果路径已存在,该角色将不会覆盖。
依赖
无。
示例剧本
---
- hosts: all
roles:
- filviu.activemq
activemq_version: 5.15.13
activemq_install_path: /opt
activemq_user: activemq
activemq_group: activemq
activemq_config_template: activemq.xml.j2
许可证
MIT / BSD
作者信息
此角色由 Silviu Vulcan 创建,以满足自己的需求。