Add terraria servers
This commit is contained in:
parent
d7f34587be
commit
b1f75519ad
@ -23,3 +23,11 @@
|
|||||||
mcgamemode: 1
|
mcgamemode: 1
|
||||||
mcleveltype: "flat"
|
mcleveltype: "flat"
|
||||||
tags: [ gameserver, minecraft ]
|
tags: [ gameserver, minecraft ]
|
||||||
|
- role: terraria
|
||||||
|
vars:
|
||||||
|
terraria_name: "main"
|
||||||
|
terraria_password: "dicks"
|
||||||
|
terraria_motd: "New major release edition"
|
||||||
|
terraria_port: 7777
|
||||||
|
terraria_difficulty: 2
|
||||||
|
tags: [ gameserver, terraria ]
|
||||||
|
@ -4,4 +4,4 @@ terraria_port: 7777
|
|||||||
terraria_root: "/var/terraria"
|
terraria_root: "/var/terraria"
|
||||||
terraria_worldname: "World"
|
terraria_worldname: "World"
|
||||||
terraria_worldsize: 3
|
terraria_worldsize: 3
|
||||||
terraria_zip: "https://terraria.org/system/dedicated_servers/archives/000/000/038/original/terraria-server-1404.zip"
|
terraria_zip: "https://terraria.org/system/dedicated_servers/archives/000/000/039/original/terraria-server-1405.zip"
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
remote_src: yes
|
remote_src: yes
|
||||||
dest: "{{ terraria_root }}/{{ terraria_name }}"
|
dest: "{{ terraria_root }}/{{ terraria_name }}"
|
||||||
- name: Move zip contents
|
- name: Move zip contents
|
||||||
shell: mv "{{ terraria_root }}/{{ terraria_name }}/1401/Linux/"* "{{ terraria_root }}/{{ terraria_name }}"
|
shell: mv "{{ terraria_root }}/{{ terraria_name }}/1405/Linux/"* "{{ terraria_root }}/{{ terraria_name }}"
|
||||||
- name: Mark executable
|
- name: Mark executable
|
||||||
file:
|
file:
|
||||||
path: "{{ terraria_root }}/{{ terraria_name }}/TerrariaServer.bin.x86_64"
|
path: "{{ terraria_root }}/{{ terraria_name }}/TerrariaServer.bin.x86_64"
|
||||||
@ -65,7 +65,7 @@
|
|||||||
state: absent
|
state: absent
|
||||||
loop:
|
loop:
|
||||||
- "{{ terraria_root }}/{{ terraria_name }}/pack.zip"
|
- "{{ terraria_root }}/{{ terraria_name }}/pack.zip"
|
||||||
- "{{ terraria_root }}/{{ terraria_name }}/1404"
|
- "{{ terraria_root }}/{{ terraria_name }}/1405"
|
||||||
- name: Create worlds directory
|
- name: Create worlds directory
|
||||||
file:
|
file:
|
||||||
path: "{{ terraria_root }}/{{ terraria_name }}/worlds"
|
path: "{{ terraria_root }}/{{ terraria_name }}/worlds"
|
||||||
|
Loading…
Reference in New Issue
Block a user