Compare commits

...

7 Commits

6 changed files with 28 additions and 5 deletions

View File

@ -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

View File

@ -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

View 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 ]

View File

@ -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

View File

@ -1,3 +1,4 @@
ansible
ansible-lint
pynetbox
pytz

View File

@ -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