server/minecraft: Split service controlling scripts and server controlling scripts

dehydrated
Felix Stupp 5 years ago
parent 9dbd811fdb
commit 9d177c783d
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -69,7 +69,7 @@
group: "{{ system_user }}" group: "{{ system_user }}"
mode: "u=r,g=r,o=" mode: "u=r,g=r,o="
- name: Configure control scripts - name: Configure service controlling scripts
template: template:
src: "{{ item.name }}" src: "{{ item.name }}"
dest: "{{ item.path }}" dest: "{{ item.path }}"
@ -79,6 +79,15 @@
loop: loop:
- name: "launch.sh" - name: "launch.sh"
path: "{{ launch_script }}" path: "{{ launch_script }}"
- name: Configure server controlling scripts
template:
src: "{{ item.name }}"
dest: "{{ item.path }}"
owner: "{{ system_user }}"
group: "{{ system_user }}"
mode: "u=rx,g=r,o="
loop:
- name: "control.sh" - name: "control.sh"
path: "{{ remote_control_script }}" path: "{{ remote_control_script }}"

Loading…
Cancel
Save