Compare commits

...

7 Commits

6 changed files with 28 additions and 5 deletions

View File

@ -33,8 +33,9 @@
- web/srv.yml - web/srv.yml
- web/synapse.yml - web/synapse.yml
- web/transmission.yml - web/transmission.yml
- game/satisfactory.yml
- game/factorio.yml - game/factorio.yml
- game/minecraft-create-extra.yml
- game/satisfactory.yml
tags: [ always ] tags: [ always ]
roles: roles:
- role: backup - role: backup
@ -47,6 +48,7 @@
- /data/gitea/data/gitea/log - /data/gitea/data/gitea/log
- /data/minecraft/oldpack/backups - /data/minecraft/oldpack/backups
- /data/minecraft/stoneblock/backups - /data/minecraft/stoneblock/backups
- /data/minecraft/create-extra/backups
- /data/shared/media - /data/shared/media
- /data/terraria/generic/backups - /data/terraria/generic/backups
tags: [ backup ] tags: [ backup ]
@ -55,7 +57,7 @@
minecraft_name: stoneblock minecraft_name: stoneblock
minecraft_external_port: "40504" minecraft_external_port: "40504"
minecraft_pack_zip: "https://srv.9iron.club/files/packs/1.18.2-stoneblock-3/latest.zip" 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 minecraft_image: rehashedsalt/minecraft-forge:1.18.2-master
tags: [ minecraft, stoneblock ] tags: [ minecraft, stoneblock ]
# - role: docker-tmodloader14 # - role: docker-tmodloader14

View File

@ -2,7 +2,7 @@
- name: docker deploy factorio - name: docker deploy factorio
docker_container: docker_container:
name: factorio name: factorio
state: started state: absent
image: factoriotools/factorio:stable image: factoriotools/factorio:stable
restart_policy: unless-stopped restart_policy: unless-stopped
pull: yes 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 - name: docker deploy satisfactory
docker_container: docker_container:
name: satisfactory name: satisfactory
state: started state: absent
image: wolveix/satisfactory-server:latest image: wolveix/satisfactory-server:latest
restart_policy: unless-stopped restart_policy: unless-stopped
pull: yes pull: yes

View File

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

View File

@ -36,7 +36,7 @@
- name: assure minecraft {{ minecraft_name }} container - name: assure minecraft {{ minecraft_name }} container
docker_container: docker_container:
name: "minecraft-{{ minecraft_name }}" name: "minecraft-{{ minecraft_name }}"
state: started state: "{{ minecraft_state }}"
image: "{{ minecraft_image }}" image: "{{ minecraft_image }}"
restart_policy: "{{ minecraft_restart_policy }}" restart_policy: "{{ minecraft_restart_policy }}"
pull: yes pull: yes