Added ops to minecraft role.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/minecraft/files/ops.json Wed May 13 09:24:18 2020 -0500
@@ -0,0 +1,8 @@
+[
+ {
+ "uuid": "98827ef9-601c-49fd-b575-abc8de019854",
+ "name": "Lukemute",
+ "level": 4,
+ "bypassesPlayerLimit": true
+ }
+]
--- a/minecraft/tasks/main.yaml Tue May 12 21:24:25 2020 -0500
+++ b/minecraft/tasks/main.yaml Wed May 13 09:24:18 2020 -0500
@@ -16,11 +16,16 @@
mode: "0755"
notify: restart minecraft
-- name: configure eula
+- name: configure eula and ops
become: yes
copy:
- src: "eula.txt"
- dest: "{{minecraft_dir}}/eula.txt"
+ src: "{{item}}"
+ dest: "{{minecraft_dir}}/{{item}}"
+ owner: "{{minecraft_user}}"
+ group: "{{minecraft_user}}"
+ loop:
+ - "eula.txt"
+ - "ops.json"
- name: configure minecraft
become: yes