Compare commits
7 Commits
681b97f7ce
...
65c3594dd8
Author | SHA1 | Date | |
---|---|---|---|
65c3594dd8 | |||
e461629de3 | |||
f7622033fc | |||
c9166166ca | |||
95abfdd506 | |||
55881cdcdf | |||
54b36219b7 |
@ -33,8 +33,9 @@
|
||||
- web/srv.yml
|
||||
- web/synapse.yml
|
||||
- web/transmission.yml
|
||||
- game/satisfactory.yml
|
||||
- game/factorio.yml
|
||||
- game/minecraft-create-extra.yml
|
||||
- game/satisfactory.yml
|
||||
tags: [ always ]
|
||||
roles:
|
||||
- role: backup
|
||||
@ -47,6 +48,7 @@
|
||||
- /data/gitea/data/gitea/log
|
||||
- /data/minecraft/oldpack/backups
|
||||
- /data/minecraft/stoneblock/backups
|
||||
- /data/minecraft/create-extra/backups
|
||||
- /data/shared/media
|
||||
- /data/terraria/generic/backups
|
||||
tags: [ backup ]
|
||||
@ -55,7 +57,7 @@
|
||||
minecraft_name: stoneblock
|
||||
minecraft_external_port: "40504"
|
||||
minecraft_pack_zip: "https://srv.9iron.club/files/packs/1.18.2-stoneblock-3/latest.zip"
|
||||
minecraft_state: stopped
|
||||
minecraft_state: absent
|
||||
minecraft_image: rehashedsalt/minecraft-forge:1.18.2-master
|
||||
tags: [ minecraft, stoneblock ]
|
||||
# - role: docker-tmodloader14
|
||||
|
@ -2,7 +2,7 @@
|
||||
- name: docker deploy factorio
|
||||
docker_container:
|
||||
name: factorio
|
||||
state: started
|
||||
state: absent
|
||||
image: factoriotools/factorio:stable
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
|
20
playbooks/tasks/game/minecraft-create-extra.yml
Normal file
20
playbooks/tasks/game/minecraft-create-extra.yml
Normal file
@ -0,0 +1,20 @@
|
||||
# vim:ft=ansible:
|
||||
- name: docker deploy minecraft - create extra
|
||||
docker_container:
|
||||
name: minecraft-create-extra
|
||||
state: started
|
||||
image: itzg/minecraft-server:latest
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
env:
|
||||
EULA: "true"
|
||||
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-extra/version/1.0.0"
|
||||
TYPE: "MODRINTH"
|
||||
VERSION: "1.19.2"
|
||||
ports:
|
||||
- "25565:25565/tcp"
|
||||
- "25565:25565/udp"
|
||||
- "24454:24454/udp"
|
||||
volumes:
|
||||
- /data/minecraft/create-extra:/data
|
||||
tags: [ docker, minecraft ]
|
@ -2,7 +2,7 @@
|
||||
- name: docker deploy satisfactory
|
||||
docker_container:
|
||||
name: satisfactory
|
||||
state: started
|
||||
state: absent
|
||||
image: wolveix/satisfactory-server:latest
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
|
@ -1,3 +1,4 @@
|
||||
ansible
|
||||
ansible-lint
|
||||
pynetbox
|
||||
pytz
|
||||
|
@ -36,7 +36,7 @@
|
||||
- name: assure minecraft {{ minecraft_name }} container
|
||||
docker_container:
|
||||
name: "minecraft-{{ minecraft_name }}"
|
||||
state: started
|
||||
state: "{{ minecraft_state }}"
|
||||
image: "{{ minecraft_image }}"
|
||||
restart_policy: "{{ minecraft_restart_policy }}"
|
||||
pull: yes
|
||||
|
Loading…
Reference in New Issue
Block a user