commit e1d5139a30cefe52729f96b974b823c727941859 Author: bluesaxman Date: Sat Aug 31 08:57:56 2024 -0600 Initial Archival Commit of all playbooks diff --git a/fixit_all.ply b/fixit_all.ply new file mode 100644 index 0000000..0d8e0e7 --- /dev/null +++ b/fixit_all.ply @@ -0,0 +1,6 @@ +--- +- import_playbook: playbooks/fixit_ldap +- import_playbook: playbooks/fixit_smarthome +- import_playbook: playbooks/fixit_media +- import_playbook: playbooks/fixit_library +- import_playbook: playbooks/fixit_cloud diff --git a/playbooks/cloud/00-collabora_play b/playbooks/cloud/00-collabora_play new file mode 100644 index 0000000..0721ff7 --- /dev/null +++ b/playbooks/cloud/00-collabora_play @@ -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 diff --git a/playbooks/cloud/10-turn_server_play b/playbooks/cloud/10-turn_server_play new file mode 100644 index 0000000..784a354 --- /dev/null +++ b/playbooks/cloud/10-turn_server_play @@ -0,0 +1,34 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create Turn configuration volume 1/2 + docker_volume: + name: turn_config + + - name: Create Turn configuration volume 2/2 + docker_volume: + name: turn_config2 + + - name: Create network interface + command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0 + ignore_errors: True + + - name: Start turn server + docker_container: + name: echo + hostname: echo + recreate: yes + image: coturn/coturn + ports: + - "192.168.1.63:3478:3478" + - "192.168.1.63:3478:3478/udp" + - "192.168.1.63:5349:5349" + - "192.168.1.63:5349:5349/udp" + - "192.168.1.63:49150-49200:49150-49200/udp" + volumes: + - turn_config2:/etc/coturn/ + - turn_config:/var/lib/coturn + memory: 8G + restart_policy: unless-stopped diff --git a/playbooks/cloud/20-protonmail_bridge_play b/playbooks/cloud/20-protonmail_bridge_play new file mode 100644 index 0000000..992d812 --- /dev/null +++ b/playbooks/cloud/20-protonmail_bridge_play @@ -0,0 +1,26 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create Protonmail Bridge Config volume + docker_volume: + name: protonmail_bridge + + - name: Create network interface + command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0 + ignore_errors: True + + - name: Start Protonmail Bridge + docker_container: + name: mail + hostname: mail + recreate: yes + image: shenxn/protonmail-bridge:latest + ports: + - "192.168.1.63:1025:25/tcp" + - "192.168.1.63:1143:143/tcp" + volumes: + - protonmail_bridge:/root + memory: 512M + restart_policy: unless-stopped diff --git a/playbooks/cloud/30-nextcloud_play b/playbooks/cloud/30-nextcloud_play new file mode 100644 index 0000000..036254b --- /dev/null +++ b/playbooks/cloud/30-nextcloud_play @@ -0,0 +1,42 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create nextcloud volume 1/3 + docker_volume: + name: nextcloud + + - name: Create nextcloud volume 2/3 + docker_volume: + name: nextcloud_apps + + - name: Create nextcloud volume 3/3 + docker_volume: + name: nextcloud_config + + - name: Create network interface + command: /usr/bin/ip addr add 192.168.1.63/24 dev enp2s0 + ignore_errors: True + + - name: Start nextcloud + docker_container: + name: vault + hostname: vault + recreate: yes + image: nextcloud:27.0.0 + ports: + - "192.168.1.63:81:80" + volumes: + - nextcloud:/var/www/html + - nextcloud_apps:/var/www/html/custom_apps + - nextcloud_config:/var/www/html/config + - /home/nextcloud:/var/www/html/data + env: + NEXTCLOUD_TRUSTED_DOMAINS=nc.murkfall.net + NEXTCLOUD_ADMIN_USER=murkfall + NEXTCLOUD_ADMIN_PASSWORD={{ password }} + PHP_MEMORY_LIMIT=5939M + memory: 16G + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/cloud/40-inspircd_play b/playbooks/cloud/40-inspircd_play new file mode 100644 index 0000000..fd6b75d --- /dev/null +++ b/playbooks/cloud/40-inspircd_play @@ -0,0 +1,40 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create IRC Config + docker_volume: + name: IRCconfig + + - name: Create network interface + command: /usr/bin/ip addr add 192.168.1.65/24 dev enp2s0 + ignore_errors: True + + - name: Start IRC Daemon + docker_container: + name: chat + hostname: chat + recreate: yes + image: inspircd/inspircd-docker + ports: + - "192.168.1.65:6697:6697" + volumes: + - IRCconfig:/inspircd/conf/ + env: + INSP_NET_SUFFIX=.murkfall.net + INSP_NET_NAME=chat + INSP_SERVER_NAME=chat.murkfall.net + INSP_ADMIN_NAME=bluesaxman + INSP_ADMIN_NICK=blue + INSP_ADMIN_EMAIL=bluesaxman@murkfall.net + INSP_CONNECT_PASSWORD=ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb + INSP_CONNECT_HASH=sha256 + INSP_ENABLE_DNSBL=no + INSP_OPER_SSLONLY=no + INSP_OPER_HOST=*@192.168.1.0/24 + INSP_OPER_HASH=sha256 + INSP_OPER_PASSWORD_HASH=ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/cloud/50-matterbridge_play b/playbooks/cloud/50-matterbridge_play new file mode 100644 index 0000000..07ab699 --- /dev/null +++ b/playbooks/cloud/50-matterbridge_play @@ -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 diff --git a/playbooks/fixit_cloud b/playbooks/fixit_cloud new file mode 100644 index 0000000..b31971c --- /dev/null +++ b/playbooks/fixit_cloud @@ -0,0 +1,7 @@ +--- +- import_playbook: cloud/00-collabora_play +- import_playbook: cloud/10-turn_server_play +- import_playbook: cloud/20-protonmail_bridge_play +- import_playbook: cloud/30-nextcloud_play +- import_playbook: cloud/40-inspircd_play +- import_playbook: cloud/50-matterbridge_play diff --git a/playbooks/fixit_guac.broken b/playbooks/fixit_guac.broken new file mode 100644 index 0000000..98b8c00 --- /dev/null +++ b/playbooks/fixit_guac.broken @@ -0,0 +1,4 @@ +--- +- import_playbook: guac/10-guacd_play +- import_playbook: guac/20-guac_postgres_play +- import_playbook: guac/30-guacamole_play diff --git a/playbooks/fixit_ldap b/playbooks/fixit_ldap new file mode 100644 index 0000000..896644d --- /dev/null +++ b/playbooks/fixit_ldap @@ -0,0 +1,82 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create ldap data volume + docker_volume: + name: ldap_data + + - name: Create ldap conf volume + docker_volume: + name: ldap_conf + + - name: Create selfserver config + docker_volume: + name: selfserver_config + + - name: Create network interfaces 1/3 + command: /usr/bin/ip addr add 192.168.1.60/24 dev enp2s0 + ignore_errors: True + + - name: Create network interfaces 2/3 + command: /usr/bin/ip addr add 192.168.1.61/24 dev enp2s0 + ignore_errors: True + + - name: Create network interfaces 3/3 + command: /usr/bin/ip addr add 192.168.1.67/24 dev enp2s0 + ignore_errors: True + + - name: Start ldap server + docker_container: + name: keymaster + hostname: keymaster + recreate: yes + image: osixia/openldap + ports: + - "192.168.1.61:390:389" + - "192.168.1.61:636:636" + volumes: + - ldap_data:/var/lib/ldap + - ldap_conf:/etc/ldap/slapd.d + env: + LDAP_ORGANISATION=murkfall + LDAP_DOMAIN=murkfall.net + LDAP_ADMIN_PASSWORD={{ password }} + LDAP_TLS_VERIFY_CLIENT=never + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start ldap admin UI + docker_container: + name: lemonaid + hostname: lemonaid + recreate: yes + image: ldapaccountmanager/lam + ports: + - "192.168.1.60:80:80" + env: + VURTUAL_HOST=lemonaid + LDAP_DOMAIN=murkfall.net + LDAP_SERVER=ldap://192.168.1.61:390 + LDAP_USER="cn=admin,dc=murkfall,dc=net" + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start LDAP Self Serv + docker_container: + name: selfserver + hostname: selfserver + recreate: yes + image: grams/ltb-self-service-password + ports: + - "192.168.1.67:80:80" + volumes: + - selfserver_config:/usr/share/self-service-password/conf + restart_policy: unless-stopped + memory: 512M + container_default_behavior: compatibility + debug: true + ignore_errors: True diff --git a/playbooks/fixit_library b/playbooks/fixit_library new file mode 100644 index 0000000..3045a15 --- /dev/null +++ b/playbooks/fixit_library @@ -0,0 +1,3 @@ +--- +- import_playbook: library/10-calibre_play +- import_playbook: library/20-readarr_play diff --git a/playbooks/fixit_media b/playbooks/fixit_media new file mode 100644 index 0000000..9a64e99 --- /dev/null +++ b/playbooks/fixit_media @@ -0,0 +1,6 @@ +--- +- import_playbook: media/10-jellyfin_play +- import_playbook: media/20-download_utils_play +- import_playbook: media/50-arr_utils_play +- import_playbook: media/80-ombi_play +- import_playbook: media/90-emulationjs_play diff --git a/playbooks/fixit_smarthome b/playbooks/fixit_smarthome new file mode 100644 index 0000000..1e57d8f --- /dev/null +++ b/playbooks/fixit_smarthome @@ -0,0 +1,74 @@ +--- +- hosts: localhost + vars: + password: rolaids + tasks: + - name: Create OpenHab Volumes 1/3 + docker_volume: + name: openhab_addons + + - name: Create OpenHab Volumes 2/3 + docker_volume: + name: openhab_conf + + - name: Create OpenHab Volumes 3/3 + docker_volume: + name: openhab_userdata + + - name: Create deconz config + docker_volume: + name: deconz_conf + + - name: Create network interfaces 1/1 + command: /usr/bin/ip addr add 192.168.1.68/24 dev enp2s0 + ignore_errors: True + + - name: Start deCONZ + docker_container: + name: deCONZ + hostname: ConBee + image: deconzcommunity/deconz:stable + recreate: yes + pull: true + ports: + - "192.168.1.68:80:80" + volumes: + - /etc/localtime:/etc/localtime:ro + - deconz_conf:/opt/deCONZ + devices: + - /dev/ttyACM1:/dev/ttyACM1 + env: + DECONZ_DEVICE=/dev/ttyACM1 + memory: 2G + restart_policy: unless-stopped + container_default_behavior: compatibility + + + - name: Start OpenHab + docker_container: + name: openhab + hostname: openhab + recreate: yes + image: openhab/openhab:latest + interactive: yes + tty: yes + ports: + - "192.168.1.68:8080:8080" + - "192.168.1.68:8181:8181" + - "192.168.1.68:8448:8448" + - "192.168.1.68:5007:5007" + volumes: + - /etc/localtime:/etc/localtime:ro + - openhab_addons:/openhab/addons + - openhab_conf:/openhab/conf + - openhab_userdata:/openhab/userdata + devices: + - /dev/ttyACM0:/dev/ttyACM0 + - /dev/ttyACM1:/dev/ttyACM1 + pull: true + memory: 1G + restart_policy: unless-stopped + container_default_behavior: compatibility + env: + EXTRA_JAVA_OPTS="-Duser.timezone=US/Mountain" + CRYPTO_POLICY=unlimited diff --git a/playbooks/guac/10-guacd_play b/playbooks/guac/10-guacd_play new file mode 100644 index 0000000..dbb8cc2 --- /dev/null +++ b/playbooks/guac/10-guacd_play @@ -0,0 +1,4 @@ + for cluster: 0x0008, ep: 0x01, frame control: 0x08, mfcode: 0x0000 \n","stream":"stdout","time":"2024-03-17T03:05:55.306544666Z"} +{"log":"21:06:39:927 ZCL attribute report 0x00124B00226B4945 for cluster: 0x0006, ep: 0x01, frame control: 0x08, mfcode: 0x0000 \n","stream":"stdout","time":"2024-03-17T03:06:39.94632908Z"} +{"log":"21:06:40:310 0x00124B00226B4945 found group 0xFFF0\n","stream":"stdout","time":"2024-03-17T03:06:40.345975071Z"} +{"log":"21:06:40:310 0x0012 \ No newline at end of file diff --git a/playbooks/guac/20-guac_postgres_play b/playbooks/guac/20-guac_postgres_play new file mode 100644 index 0000000..9ae0615 --- /dev/null +++ b/playbooks/guac/20-guac_postgres_play @@ -0,0 +1,6 @@ +1616253 op=0 BIND dn=\"cn=admin,dc=murkfall,dc=net\" mech=SIMPLE ssf=0\n","stream":"stderr","time":"2024-03-14T08:07:20.666097957Z"} +{"log":"65f2b038 conn=1616253 op=0 RESULT tag=97 err=0 text=\n","stream":"stderr","time":"2024-03-14T08:07:20.666116841Z"} +{"log":"65f2b038 conn=1616253 op=1 SRCH base=\"uid=bluesaxman,dc=murkfall,dc=net\" scope=0 deref=0 filter=\"(|(objectClass=inetOrgPerson))\"\n","stream":"stderr","time":"2024-03-14T08:07:20.666545803Z"} +{"log":"65f2b038 conn=1616253 op=1 SRCH attr=1.1\n","stream":"stderr","time":"2024-03-14T08:07:20.666558064Z"} +{"log":"65f2b038 conn=1616253 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=\n","stream":"stderr","time":"2024-03-14T08:07:20.666561568Z"} +{"log":"65f2b038 conn=1616253 op=2 UNBIND\n","stream":"stderr","t \ No newline at end of file diff --git a/playbooks/guac/30-guacamole_play b/playbooks/guac/30-guacamole_play new file mode 100644 index 0000000..707d41b --- /dev/null +++ b/playbooks/guac/30-guacamole_play @@ -0,0 +1,10 @@ +EPT from IP=172.17.0.1:56830 (IP=0.0.0.0:389)\n","stream":"stderr","time":"2024-03-14T10:41:50.922540174Z"} +{"log":"65f2d46e conn=1617830 op=0 BIND dn=\"cn=admin,dc=murkfall,dc=net\" method=128\n","stream":"stderr","time":"2024-03-14T10:41:50.92279031Z"} +{"log":"65f2d46e conn=1617830 op=0 BIND dn=\"cn=admin,dc=murkfall,dc=net\" mech=SIMPLE ssf=0\n","stream":"stderr","time":"2024-03-14T10:41:50.922803258Z"} +{"log":"65f2d46e conn=1617830 op=0 RESULT tag=97 err=0 text=\n","stream":"stderr","time":"2024-03-14T10:41:50.922807342Z"} +{"log":"65f2d46e conn=1617830 op=1 SRCH base=\"uid=bluesaxman,dc=murkfall,dc=net\" scope=0 deref=0 filter=\"(|(objectClass=inetOrgPerson))\"\n","stream":"stderr","time":"2024-03-14T10:41:50.922849393Z"} +{"log":"65f2d46e conn=1617830 op=1 SRCH attr=1.1\n","stream":"stderr","time":"2024-03-14T10:41:50.922857176Z"} +{"log":"65f2d46e conn=1617830 op=1 SEARCH RESULT tag=101 err=0 nentries=1 text=\n","stream":"stderr","time":"2024-03-14T10:41:50.922901563Z"} +{"log":"65f2d46e conn=1617830 op=2 UNBIND\n","stream":"stderr","time":"2024-03-14T10:41:50.97034408Z"} +{"log":"65f2d46e conn=1617830 fd=14 closed\n","stream":"stderr","time":"2024-03-14T10:41:50.970413407Z"} +{"log":"6 \ No newline at end of file diff --git a/playbooks/library/10-calibre_play b/playbooks/library/10-calibre_play new file mode 100644 index 0000000..af2336c --- /dev/null +++ b/playbooks/library/10-calibre_play @@ -0,0 +1,26 @@ +--- +- hosts: localhost + tasks: + - name: Create network interfaces + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start Calibre + docker_container: + name: calibre + hostname: calibre + recreate: yes + image: linuxserver/calibre + ports: + - "192.168.1.62:8788:8080" + - "192.168.1.62:8789:8081" + volumes: + - /etc_media/Books:/config + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/library/20-readarr_play b/playbooks/library/20-readarr_play new file mode 100644 index 0000000..f44d356 --- /dev/null +++ b/playbooks/library/20-readarr_play @@ -0,0 +1,31 @@ +--- +- hosts: localhost + tasks: + - name: Create readarr_config + docker_volume: + name: readarr_config + + - name: Create network interfaces + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start Readarr + docker_container: + name: readarr + hostname: readarr + recreate: yes + image: linuxserver/readarr:nightly + ports: + - "192.168.1.62:8787:8787" + volumes: + - readarr_config:/config + - /etc_media/Books:/books + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/media/10-jellyfin_play b/playbooks/media/10-jellyfin_play new file mode 100644 index 0000000..99a2282 --- /dev/null +++ b/playbooks/media/10-jellyfin_play @@ -0,0 +1,26 @@ +--- +- hosts: localhost + tasks: + - name: Create jellyfin_config + docker_volume: + name: jellyfin_config + + - name: Create network interfaces + command: /usr/bin/ip addr add 192.168.1.66/24 dev enp2s0 + ignore_errors: True + + - name: Start jellyfin + docker_container: + name: jellyfin + hostname: jellyfin + recreate: yes + image: jellyfin/jellyfin:10.9.6 + ports: + - "192.168.1.66:8096:8096" + volumes: + - jellyfin_config:/config + - /tmp/jellyfin:/cache + - /etc_media/Movies:/media + memory: 8G + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/media/20-download_utils_play b/playbooks/media/20-download_utils_play new file mode 100644 index 0000000..4af059d --- /dev/null +++ b/playbooks/media/20-download_utils_play @@ -0,0 +1,97 @@ +--- +- hosts: localhost + tasks: + - name: Create sabnzbd Config + docker_volume: + name: sabnzbd_config + + - name: Create Deluge config + docker_volume: + name: deluge_config + + - name: Create Jackett config + docker_volume: + name: jackett_config + + - name: Create download volume + docker_volume: + name: download_staging + + - name: Create network interfaces + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start Deluge + docker_container: + name: deluge + hostname: deluge + recreate: yes + image: linuxserver/deluge + network_mode: host + volumes: + - deluge_config:/config + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 1G + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start Sabnzbd + docker_container: + name: sabnzbd + hostname: sabnzbd + recreate: yes + image: linuxserver/sabnzbd + ports: + - "192.168.1.62:8080:8080" + - "192.168.1.62:9090:9090" + volumes: + - sabnzbd_config:/config + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + memory: 1G + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start Flaresolverr + docker_container: + name: flaresolverr + hostname: flaresolverr + recreate: yes + image: flaresolverr/flaresolverr + ports: + - "192.168.1.62:8191:8191" + env: + LOG_LEVEL=info + LOG_HTML=false + CAPTCHA_SOLVER=none + TZ=US/Mountain + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start Jackett + docker_container: + name: jackett + hostname: jackett + recreate: yes + image: linuxserver/jackett:0.22.420 + ports: + - "192.168.1.62:9117:9117" + volumes: + - jackett_config:/config + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/media/50-arr_utils_play b/playbooks/media/50-arr_utils_play new file mode 100644 index 0000000..1e1199e --- /dev/null +++ b/playbooks/media/50-arr_utils_play @@ -0,0 +1,85 @@ +--- +- hosts: localhost + tasks: + - name: Create bazarr config + docker_volume: + name: bazarr_config + + - name: Create sonarr config + docker_volume: + name: sonarr_config + + - name: Create radarr config + docker_volume: + name: radarr_config + + - name: Create download volume + docker_volume: + name: download_staging + + - name: Create network interfaces 1/2 + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start Radarr + docker_container: + name: radarr + hostname: radarr + recreate: yes + image: linuxserver/radarr + ports: + - "192.168.1.62:7878:7878" + volumes: + - radarr_config:/config + - /etc_media/Movies/Film:/movies + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start Sonarr + docker_container: + name: sonarr + hostname: sonarr + recreate: yes + image: linuxserver/sonarr + ports: + - "192.168.1.62:8989:8989" + volumes: + - sonarr_config:/config + - /etc_media/Movies/TV:/tv + - download_staging:/downloads + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped + + - name: Start Bazarr + docker_container: + name: bazarr + hostname: bazarr + recreate: yes + image: linuxserver/bazarr + ports: + - "192.168.1.62:6767:6767" + volumes: + - bazarr_config:/config + - /etc_media/Movies/Film:/movies + - /etc_media/Movies/TV:/tv + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + UMASK_SET=022 + memory: 512M + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/media/80-ombi_play b/playbooks/media/80-ombi_play new file mode 100644 index 0000000..a837ece --- /dev/null +++ b/playbooks/media/80-ombi_play @@ -0,0 +1,28 @@ +--- +- hosts: localhost + tasks: + - name: Create ombi config + docker_volume: + name: ombi_config + + - name: Create network interfaces 1/2 + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start Ombi + docker_container: + name: ombi + hostname: ombi + recreate: yes + image: linuxserver/ombi + ports: + - "192.168.1.62:3579:3579" + volumes: + - ombi_config:/config + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + memory: 1G + container_default_behavior: compatibility + restart_policy: unless-stopped diff --git a/playbooks/media/90-emulationjs_play b/playbooks/media/90-emulationjs_play new file mode 100644 index 0000000..bfed855 --- /dev/null +++ b/playbooks/media/90-emulationjs_play @@ -0,0 +1,35 @@ +--- +- hosts: localhost + tasks: + - name: Create emulationjs config volume + docker_volume: + name: emulationjs_config + + - name: Create emulationjs data volume + docker_volume: + name: emulationjs_data + + - name: Create network interfaces 1/2 + command: /usr/bin/ip addr add 192.168.1.62/24 dev enp2s0 + ignore_errors: True + + - name: Start emulationjs + docker_container: + name: emulationjs + hostname: emulationjs + recreate: yes + image: linuxserver/emulatorjs:latest + ports: + - "192.168.1.62:3000:3000" + - "192.168.1.62:80:80" + - "192.168.1.62:4001:4001" + volumes: + - emulationjs_config:/config + - emulationjs_data:/data + env: + PUID=1000 + PGID=1000 + TZ=US/Mountain + memory: 4G + container_default_behavior: compatibility + restart_policy: unless-stopped