Making it possible to define shell and support other os-ses
This commit is contained in:
parent
8cfe198f7e
commit
0aa8575227
@ -37,3 +37,7 @@ borgbackup_appendonly: False
|
||||
borgbackup_management_station: ''
|
||||
borgbackup_management_user: ''
|
||||
borgbackup_management_ssh_pubkey: ''
|
||||
|
||||
borgbackup_owner: root
|
||||
borgbackup_group: root
|
||||
borgbackup_shell: "/bin/bash"
|
||||
|
@ -96,8 +96,8 @@
|
||||
template:
|
||||
src: "borg-backup.sh.j2"
|
||||
dest: "/usr/local/bin/borg-backup"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
owner: "{{ borgbackup_owner }}"
|
||||
group: "{{ borgbackup_group }}"
|
||||
mode: "0744"
|
||||
|
||||
- name: client | create backup-directory on backup server
|
||||
|
@ -3,8 +3,8 @@
|
||||
get_url:
|
||||
dest: "/usr/local/bin/borg"
|
||||
checksum: "{{ borgbackup_checksum }}"
|
||||
owner: "root"
|
||||
group: "root"
|
||||
owner: "{{ borgbackup_owner }}"
|
||||
group: "{{ borgbackup_group }}"
|
||||
mode: "0755"
|
||||
url: "{{ borgbackup_download_url }}"
|
||||
tags: borginstall
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!{{ borgbackup_shell }}
|
||||
|
||||
if [ -z "$1" ] || [ ! -z "$2" ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user