# HG changeset patch # User Luke Hoersten # Date 1589379858 18000 # Node ID 9cacee5eec83d89e239f54614546a11373fb1118 # Parent 31de177274a16033be21cbf7b0ca8593391596ac Added ops to minecraft role. diff -r 31de177274a1 -r 9cacee5eec83 minecraft/files/ops.json --- /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 + } +] diff -r 31de177274a1 -r 9cacee5eec83 minecraft/tasks/main.yaml --- 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