marvinpinto.sabnzbd

sabnzbd

构建状态 Ansible Galaxy 许可证

这是一个用于安装和管理 sabnzbd 的 Ansible Galaxy 角色。

需求

该角色已在 Ubuntu 14.04 上测试,可能只适用于类似 Ubuntu 的系统。

角色变量

# 应用程序配置
sabnzbd_app_directory: '/opt/sabnzbd'

# 守护进程配置
sabnzbd_daemon_user: 'sabdownloader'
sabnzbd_daemon_host: '127.0.0.1'
sabnzbd_daemon_port: '8080'
sabnzbd_daemon_extra_args: ''
sabnzbd_daemon_config_file: "{{ sabnzbd_app_directory }}/config/sabnzbd.ini"

# nzbtomedia 配置
sabnzbd_nzbtomedia_directory: '/opt/nzbtomedia'
sabnzbd_nzbtomedia_autoprocessmedia_cfg: |
  # nzbToMedia 配置
  # 更多信息,请访问 https://github.com/clinton-hall/nzbToMedia/wiki

  [General]
      # 启用/禁用更新通知

  ...
  (在这里添加 autoProcessMedia.cfg 的其余内容)
  ...

示例

从 Ansible Galaxy 将此模块安装到 './roles' 目录:

ansible-galaxy install marvinpinto.sabnzbd -p ./roles

在剧本中使用如下:

- hosts: '127.0.0.1'
  roles:
    - role: 'marvinpinto.sabnzbd'
      become: true

本地测试

使用提供的 Vagrantfile 进行本地开发和测试(提示:vagrant up --provision

关于项目

Ansible Galaxy role to install and manage sabnzbd.

安装
ansible-galaxy install marvinpinto.sabnzbd
许可证
mit
下载
146
拥有者
Computer nerd.