Do configuration as tes3mp user
This commit is contained in:
parent
43e089dd90
commit
5c32a14c19
@ -45,13 +45,15 @@
|
||||
remote_src: yes
|
||||
dest: "{{ tes3mp.dest }}/{{ tes3mp.name }}"
|
||||
when: get_archive is changed
|
||||
- name: Configure server
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ tes3mp.dest }}/{{ tes3mp.name }}/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: "tes3mp-server-default.cfg", dest: "tes3mp-server-default.cfg" }
|
||||
notify: "restart tes3mp {{ tes3mp.name }}"
|
||||
- name: Configure server
|
||||
template:
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ tes3mp.dest }}/{{ tes3mp.name }}/{{ item.dest }}"
|
||||
loop:
|
||||
- { src: "tes3mp-server-default.cfg", dest: "tes3mp-server-default.cfg" }
|
||||
notify: "restart tes3mp {{ tes3mp.name }}"
|
||||
become: yes
|
||||
become_user: tes3mp
|
||||
- name: Set up system
|
||||
block:
|
||||
- name: Start and enable service
|
||||
|
Loading…
Reference in New Issue
Block a user