Verified Commit a20f645f authored by erdnaxe's avatar erdnaxe 🦋

mumudvb role for cochon

parent fcf92ecf
---
- name: Install mumudvb, dkms and ocaml
apt:
update_cache: true
name:
- mumudvb
- ocaml
- dkms
register: apt_result
retries: 3
until: apt_result is succeeded
- name: Configure mumudvb
template:
src: default/mumudvb.j2
dest: /etc/default/mumudvb
mode: 0644
# {{ ansible_managed }}
#Mumudvb init config file
#
# This file is used to specify the locations of mumudvb config files for each card
#
#If you want to launch a command before mumudvb (for example for automatic configuration generation)
LAUNCH_BEFORE_MUMU="/usr/scripts/tv/gen_conf.ml"
#Options for mumudvb
DAEMON_OPTS=""
#The user to launch mumudvb
DAEMONUSER=_mumudvb
#Change this line to reflect your configuration
#Ex : ADAPTERS="0 1 2 4"
ADAPTERS="0 1 2 3 4 5 6 7 8 9"
#Location of the config files
#Ex : MUMUDVB_CONF_1="/etc/mumudvb/card1.conf"
MUMUDVB_CONF_0="/etc/sat/carte0.conf"
MUMUDVB_CONF_1="/etc/sat/carte1.conf"
MUMUDVB_CONF_2="/etc/sat/carte2.conf"
MUMUDVB_CONF_3="/etc/sat/carte3.conf"
MUMUDVB_CONF_4="/etc/sat/carte4.conf"
MUMUDVB_CONF_5="/etc/sat/carte5.conf"
MUMUDVB_CONF_6="/etc/sat/carte6.conf"
MUMUDVB_CONF_7="/etc/sat/carte7.conf"
MUMUDVB_CONF_8="/etc/sat/carte8.conf"
MUMUDVB_CONF_9="/etc/sat/carte9.conf"
MUMUDVB_CONF_10="/etc/sat/carte10.conf"
MUMUDVB_CONF_11="/etc/sat/carte11.conf"
......@@ -26,3 +26,8 @@
- hosts: gateau.adm.crans.org
roles:
- docker
# Deploy TV
- hosts: cochon.adm.crans.org
roles:
- mumudvb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment