marvinpinto.headphones
耳机
Ansible Galaxy 角色,用于安装和管理 Headphones。
要求
此角色已在 Ubuntu 14.04 上测试,可能仅适用于类似 Ubuntu 的系统。
角色变量
# 应用程序配置
headphones_app_src_directory: '/opt/headphones_src'
headphones_app_version: 'v0.5.16' # 对应发布标签
headphones_app_data_directory: '/opt/headphones_data'
headphones_app_pid_file: '/tmp/headphones.pid'
# 守护进程配置
headphones_daemon_user: 'headphonesdaemon'
headphones_daemon_port: '8181'
headphones_daemon_extra_opts: ""
示例
从 Ansible Galaxy 安装此模块到 './roles' 目录:
ansible-galaxy install marvinpinto.headphones -p ./roles
在剧本中使用如下:
- hosts: '127.0.0.1'
roles:
- role: 'marvinpinto.headphones'
become: true
开发
使用提供的 Vagrantfile
进行本地开发和测试(提示:vagrant up --provision
)
安装
ansible-galaxy install marvinpinto.headphones
许可证
mit
下载
115
拥有者
Computer nerd.