Compare commits
3 Commits
65c3594dd8
...
ff8ef69ea5
Author | SHA1 | Date | |
---|---|---|---|
ff8ef69ea5 | |||
36e2e73d23 | |||
dfe8007bc5 |
11
oneoffs/os-version.yml
Executable file
11
oneoffs/os-version.yml
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
- hosts: all
|
||||
gather_facts: yes
|
||||
become: no
|
||||
tasks:
|
||||
- name: print os info
|
||||
debug: msg="{{ item }}"
|
||||
with_items:
|
||||
- "{{ ansible_distribution }}"
|
||||
- "{{ ansible_distribution_version }}"
|
@ -35,6 +35,7 @@
|
||||
- web/transmission.yml
|
||||
- game/factorio.yml
|
||||
- game/minecraft-create-extra.yml
|
||||
- game/minecraft-vanilla.yml
|
||||
- game/satisfactory.yml
|
||||
tags: [ always ]
|
||||
roles:
|
||||
|
27
playbooks/tasks/game/minecraft-vanilla.yml
Normal file
27
playbooks/tasks/game/minecraft-vanilla.yml
Normal file
@ -0,0 +1,27 @@
|
||||
# vim:ft=ansible:
|
||||
- name: docker deploy minecraft - vanilla
|
||||
docker_container:
|
||||
name: minecraft-vanilla
|
||||
state: started
|
||||
image: itzg/minecraft-server:latest
|
||||
restart_policy: unless-stopped
|
||||
pull: yes
|
||||
env:
|
||||
DIFFICULTY: "normal"
|
||||
ENABLE_COMMAND_BLOCK: "true"
|
||||
EULA: "true"
|
||||
MAX_PLAYERS: "8"
|
||||
MODRINTH_PROJECT: "https://modrinth.com/modpack/adrenaserver"
|
||||
MOTD: "Tannerite Dog Edition\\n#abolishtheatf"
|
||||
OPS: "VintageSalt"
|
||||
SNOOPER_ENABLED: "false"
|
||||
SPAWN_PROTECTION: "0"
|
||||
TYPE: "MODRINTH"
|
||||
USE_AIKAR_FLAGS: "true"
|
||||
VIEW_DISTANCE: "12"
|
||||
ports:
|
||||
- "26565:25565/tcp"
|
||||
- "26565:25565/udp"
|
||||
volumes:
|
||||
- /data/minecraft/vanilla:/data
|
||||
tags: [ docker, minecraft ]
|
Loading…
x
Reference in New Issue
Block a user