check new version
This commit is contained in:
16
roles/04-backups/tasks/03-configure-backup-script.yml
Normal file
16
roles/04-backups/tasks/03-configure-backup-script.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
- name: Create backup script
|
||||
ansible.builtin.template:
|
||||
src: backup.sh.j2
|
||||
dest: "{{ minecraft_base_dir }}/backup.sh"
|
||||
owner: "{{ minecraft_user }}"
|
||||
group: "{{ minecraft_group }}"
|
||||
mode: '0755'
|
||||
|
||||
- name: Create restore script
|
||||
ansible.builtin.template:
|
||||
src: restore.sh.j2
|
||||
dest: "{{ minecraft_base_dir }}/restore.sh"
|
||||
owner: "{{ minecraft_user }}"
|
||||
group: "{{ minecraft_group }}"
|
||||
mode: '0755'
|
Reference in New Issue
Block a user