1
0
Fork 0

add op config

This commit is contained in:
Massaki Archambault 2023-06-13 12:40:58 -04:00
parent 0b3e71028b
commit ef5406bfac
2 changed files with 7 additions and 1 deletions

View File

@ -1,2 +1,3 @@
mc_server_version: 15c777e2cfe0556eef19aab534b186c0c6f277e1
mc_server_memory: 1G
mc_server_ops: []

View File

@ -30,6 +30,11 @@
src: eula.txt
dest: /srv/minecraft-server/eula.txt
- name: Configure server ops
copy:
content: "{{ mc_server_ops }}"
dest: /srv/minecraft-server/ops.json
- name: Install server script
template:
src: minecraft-server.sh