add op config
This commit is contained in:
parent
0b3e71028b
commit
ef5406bfac
|
@ -1,2 +1,3 @@
|
|||
mc_server_version: 15c777e2cfe0556eef19aab534b186c0c6f277e1
|
||||
mc_server_memory: 1G
|
||||
mc_server_memory: 1G
|
||||
mc_server_ops: []
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue