Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added media-server deployment #1

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
7dba9be
added digiplay mount role
connor642 Mar 29, 2020
68c2653
added raw.medianet to hosts
connor642 Mar 29, 2020
8d1a71f
fix option quotes
connor642 Mar 29, 2020
2c43975
forgot to make tasks a list
connor642 Mar 29, 2020
77dcd98
added readme for mount role, added dest variable
connor642 Mar 29, 2020
d8e402b
improved digiplay mount readme
connor642 Mar 29, 2020
d22cbe1
added readme for autologin_user, renamed user var and added default v…
connor642 Mar 29, 2020
e7f41db
added status server role
connor642 Mar 29, 2020
e827a1e
added modular status hosts
connor642 Mar 29, 2020
82f0382
ensure docker pip installed
connor642 Mar 29, 2020
f6a1d56
make sure pip is installed
connor642 Mar 29, 2020
23af5e9
fixed my stupid typo
connor642 Mar 29, 2020
121a9c3
fix port forwarding
connor642 Mar 29, 2020
8506d51
added websockify install
connor642 Mar 29, 2020
480fa50
added websockify as docker
connor642 Mar 30, 2020
bb715b9
added args to websockify docker
connor642 Mar 30, 2020
d31f8df
fix typo
connor642 Mar 30, 2020
3bd2097
fix another typo
connor642 Mar 30, 2020
aa9043b
added pulling new containers for modular-status
connor642 Mar 30, 2020
b7360b0
Added media-server deployment
Apr 1, 2020
a449915
Fixed small typo
Apr 1, 2020
c5318f8
Made local media path more sensible.
Apr 1, 2020
4c4cba9
Update media directory ensure task.
Apr 1, 2020
93efa2d
Notify start media handler if host dir changes.
Apr 1, 2020
00ddfa4
added website server role
connor642 Apr 4, 2020
38201ac
added pip install and docker compose install
connor642 Apr 4, 2020
195bc9e
Update plumbus.conf.j2
connor642 Apr 4, 2020
ab41985
Update main.yml
connor642 Apr 4, 2020
a54c98e
missed var prefix
connor642 Apr 4, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
added digiplay mount role
  • Loading branch information
connor642 committed Mar 29, 2020
commit 7dba9be70ca6ae54273d6fa88b6be92d5825123c
1 change: 1 addition & 0 deletions host_vars/digiplay2.medianet/vars
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
digiplay_mount_options: defaults
3 changes: 2 additions & 1 deletion hosts.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,8 @@ all:
fs0.medianet:
dps0.medianet:
bak0.medianet:
children:
digiplay2.medianet:
children:
playout:
hosts:
playout1.medianet:
3 changes: 3 additions & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
@@ -5,6 +5,9 @@
- hosts: onair
roles:
- onair
- hosts: playout:digiplay2.medianet:fs0.medianet:raw.medianet
roles:
- digiplay_mount
- hosts: all
roles:
- common
1 change: 1 addition & 0 deletions roles/digiplay_mount/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
digiplay_mount_options: ro,defaults
12 changes: 12 additions & 0 deletions roles/digiplay_mount/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: ensure nfs-common is installed
apt:
name: nfs-common
state: latest
name: ensure dps0 is mounted
mount:
path: /mnt/dps0-0
src: dps0.medianet:/export/dps0-0
opts: {{ digiplay_mount_options }}
fstype: nfs
state: mounted