Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Ansible
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nounous
Ansible
Commits
a20f645f
Verified
Commit
a20f645f
authored
Feb 07, 2020
by
erdnaxe
🦋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mumudvb role for cochon
parent
fcf92ecf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
0 deletions
+55
-0
roles/mumudvb/tasks/main.yml
roles/mumudvb/tasks/main.yml
+17
-0
roles/mumudvb/templates/default/mumudvb.j2
roles/mumudvb/templates/default/mumudvb.j2
+33
-0
services_web.yml
services_web.yml
+5
-0
No files found.
roles/mumudvb/tasks/main.yml
0 → 100644
View file @
a20f645f
---
-
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
roles/mumudvb/templates/default/mumudvb.j2
0 → 100644
View file @
a20f645f
# {{ 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"
services_web.yml
View file @
a20f645f
...
...
@@ -26,3 +26,8 @@
-
hosts
:
gateau.adm.crans.org
roles
:
-
docker
# Deploy TV
-
hosts
:
cochon.adm.crans.org
roles
:
-
mumudvb
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment