mirror of
https://github.com/mtan93/Apps-Community.git
synced 2026-03-30 14:23:16 +01:00
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#
|
#
|
||||||
# Title: McMyadmin2
|
# Title: McMyadmin (v2)
|
||||||
# Author(s): timekills
|
# Author(s): timekills
|
||||||
# URL: https://plexguide.com - http://github.plexguide.com
|
# URL: https://plexguide.com - http://github.plexguide.com
|
||||||
# GNU: General Public License v3.0
|
# GNU: General Public License v3.0
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
|
|
||||||
- name: 'Set Known Facts'
|
- name: 'Set Known Facts'
|
||||||
set_fact:
|
set_fact:
|
||||||
pgrole: 'mcmyadmin2'
|
pgrole: 'mcmyadmin'
|
||||||
intport: '8080'
|
intport: '8080'
|
||||||
extport: '8088'
|
extport: '8088'
|
||||||
image: 'linuxserver/mcmyadmin2'
|
image: 'linuxserver/mcmyadmin2'
|
||||||
@@ -23,22 +23,6 @@
|
|||||||
|
|
||||||
# EXTRA FUNCTIONS REQUIRED BY THE ROLE #####################################
|
# EXTRA FUNCTIONS REQUIRED BY THE ROLE #####################################
|
||||||
|
|
||||||
- name: 'Create scripts directory for {{pgrole}}'
|
|
||||||
file:
|
|
||||||
path: /opt/appdata/{{pgrole}}/scripts
|
|
||||||
state: directory
|
|
||||||
owner: 1000
|
|
||||||
group: 1000
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: 'Create plugins directory for {{pgrole}}'
|
|
||||||
file:
|
|
||||||
path: /opt/appdata/{{pgrole}}/plugins
|
|
||||||
state: directory
|
|
||||||
owner: 1000
|
|
||||||
group: 1000
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
# LABELS #### KEEPS BOTTOM CLEAN ###########################################
|
# LABELS #### KEEPS BOTTOM CLEAN ###########################################
|
||||||
- name: 'Adding Traefik'
|
- name: 'Adding Traefik'
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -51,8 +35,9 @@
|
|||||||
- name: 'Setting PG Volumes'
|
- name: 'Setting PG Volumes'
|
||||||
set_fact:
|
set_fact:
|
||||||
pg_volumes:
|
pg_volumes:
|
||||||
- '/opt/appdata/{{pgrole}}/mcmyadmin:/minecraft'
|
- '/opt/appdata/{{pgrole}}:/minecraft'
|
||||||
- '/opt/appdata/{{pgrole}}/Minecraft:/Minecraft'
|
- '/opt/appdata/{{pgrole}}/Minecraft:/minecraft/Minecraft'
|
||||||
|
- '/opt/appdata/{{pgrole}}/plugins:/minecraft/Minecraft/plugins'
|
||||||
- '{{path.stdout}}:{{path.stdout}}'
|
- '{{path.stdout}}:{{path.stdout}}'
|
||||||
- '/mnt:/mnt'
|
- '/mnt:/mnt'
|
||||||
- '/etc/localtime:/etc/localtime:ro'
|
- '/etc/localtime:/etc/localtime:ro'
|
||||||
|
|||||||
Reference in New Issue
Block a user