Fix server move operation, mark binary as executable

This commit is contained in:
Salt 2020-05-15 10:57:28 -05:00
parent f9ae17b34d
commit f9874ec05b

View File

@ -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 }}"