Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
matterbridge
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
matterbridge
Commits
3cd907e0
Commit
3cd907e0
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update installation and upgrade tasks
parent
0fa03339
Branches
main
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
handlers/main.yml
+16
-0
16 additions, 0 deletions
handlers/main.yml
tasks/main.yml
+7
-18
7 additions, 18 deletions
tasks/main.yml
with
23 additions
and
18 deletions
handlers/main.yml
0 → 100644
+
16
−
0
View file @
3cd907e0
---
# file: roles/matterbridge/handlers/main.yml
-
name
:
Re-create the matterbridge container
docker_container
:
name
:
matterbridge
image
:
42wim/matterbridge
state
:
started
recreate
:
yes
restart_policy
:
always
volumes
:
-
/etc/matterbridge.toml:/matterbridge.toml
log_driver
:
fluentd
log_options
:
fluentd-address
:
'
tcp://localhost:24224'
tag
:
app.matterbridge
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
7
−
18
View file @
3cd907e0
...
...
@@ -17,23 +17,12 @@
group
:
root
mode
:
0664
-
name
:
Start Docker container
docker_container
:
name
:
matterbridge
image
:
42wim/matterbridge
# pull: yes
recreate
:
yes
restart
:
yes
# command: -debug
state
:
started
restart_policy
:
always
volumes
:
-
/etc/matterbridge.toml:/matterbridge.toml
log_driver
:
fluentd
log_options
:
fluentd-address
:
'
tcp://localhost:24224'
tag
:
app.matterbridge
-
name
:
Pull docker image
docker_image
:
name
:
42wim/matterbridge
source
:
pull
force_source
:
yes
notify
:
-
Re-create the matterbridge container
when
:
not excluded_roles or "matterbridge" not in excluded_roles
# docker run --name matterbridge --restart always -v=/etc/matterbridge.toml:/matterbridge.toml --log-driver fluentd --log-opt fluentd-address='tcp://localhost:24224' --log-opt tag='app.matterbridge' -d 42wim/matterbridge
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment