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:
33
playbooks/cloud/00-collabora_play
Normal file
33
playbooks/cloud/00-collabora_play
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
vars:
|
||||
password: rolaids
|
||||
tasks:
|
||||
- name: Create Collabora Config
|
||||
docker_volume:
|
||||
name: collabora_config
|
||||
|
||||
- name: Create network interface
|
||||
command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0
|
||||
ignore_errors: True
|
||||
|
||||
- name: Start collabora
|
||||
docker_container:
|
||||
name: office
|
||||
hostname: office
|
||||
recreate: yes
|
||||
image: collabora/code:21.11.4.2.1
|
||||
ports:
|
||||
- "192.168.1.63:9980:9980"
|
||||
volumes:
|
||||
- collabora_config:/etc/coolwsd
|
||||
env:
|
||||
DONT_GEN_SSL_CERT=yes
|
||||
extra_params="--o:ssl.enable=false --o:ssl.termination=true --o:hexify_embedded_urls=true"
|
||||
server_name=col.murkfall.net
|
||||
username=admin
|
||||
password={{ password }}
|
||||
memory: 4G
|
||||
restart_policy: unless-stopped
|
||||
privileged: true
|
||||
container_default_behavior: compatibility
|
||||
Reference in New Issue
Block a user