Fix server move operation, mark binary as executable
This commit is contained in:
parent
f9ae17b34d
commit
f9874ec05b
@ -54,7 +54,11 @@
|
|||||||
remote_src: yes
|
remote_src: yes
|
||||||
dest: "{{ terraria_root }}/{{ terraria_name }}"
|
dest: "{{ terraria_root }}/{{ terraria_name }}"
|
||||||
- name: Move zip contents
|
- name: Move zip contents
|
||||||
shell: mv "{{ terraria_root }}/{{ terraria_name }}/Dedicated Server/*" "{{ terraria_root }}/{{ terraria_name }}"
|
shell: mv "{{ terraria_root }}/{{ terraria_name }}/Dedicated Server/Linux/*" "{{ terraria_root }}/{{ terraria_name }}"
|
||||||
|
- name: Mark executable
|
||||||
|
file:
|
||||||
|
path: "{{ terraria_root }}/{{ terraria_name }}/TerrariaServer.bin.x86_64"
|
||||||
|
mode: "0755"
|
||||||
- name: Clean up
|
- name: Clean up
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user