mirror of
https://forge.murkfall.net/bluesaxman/old_murkfall_playbooks.git
synced 2026-03-13 02:34:20 -06:00
Initial Archival Commit of all playbooks
This commit is contained in:
28
playbooks/cloud/50-matterbridge_play
Normal file
28
playbooks/cloud/50-matterbridge_play
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
password: rolaids
|
||||
tasks:
|
||||
- name: Create Matterbridge Config Volume
|
||||
docker_volume:
|
||||
name: matterbridge_config
|
||||
|
||||
- name: Create network interfaces 1/2
|
||||
command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0
|
||||
ignore_errors: True
|
||||
|
||||
- name: Create network interfaces 2/2
|
||||
command: /usr/bin/ip addr add 192.168.1.65/24 dev enp2s0
|
||||
ignore_errors: True
|
||||
|
||||
- name: Start Matterbridge
|
||||
docker_container:
|
||||
name: matterbridge
|
||||
hostname: matterbridge
|
||||
recreate: yes
|
||||
image: 42wim/matterbridge
|
||||
volumes:
|
||||
- matterbridge_config:/etc/matterbridge
|
||||
memory: 1G
|
||||
container_default_behavior: compatibility
|
||||
restart_policy: unless-stopped
|
||||
Reference in New Issue
Block a user