File tree 3 files changed +3
-5
lines changed
3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,14 @@ autorestic_restic_install_directory:
45
45
The directories to install the autorestic and restic binaries at.
46
46
47
47
` ` ` yaml
48
- autorestic_config: |-
48
+ autorestic_config:
49
49
version: 2
50
50
locations:
51
51
home:
52
52
from: /home/me
53
53
to: remote
54
54
# Every Monday
55
55
cron: "0 0 * * MON"
56
-
57
56
backends:
58
57
remote:
59
58
type: b2
Original file line number Diff line number Diff line change @@ -6,15 +6,14 @@ autorestic_install_directory:
6
6
path : /opt/autorestic/bin
7
7
autorestic_restic_install_directory :
8
8
path : /opt/restic/bin
9
- autorestic_config : |-
9
+ autorestic_config :
10
10
version : 2
11
11
locations :
12
12
home :
13
13
from : /home/me
14
14
to : remote
15
15
# Every Monday
16
16
cron : " 0 0 * * MON"
17
-
18
17
backends :
19
18
remote :
20
19
type : b2
Original file line number Diff line number Diff line change 47
47
48
48
- name : Create autorestic configuration file
49
49
ansible.builtin.copy :
50
- content : " {{ autorestic_config }}"
50
+ content : " {{ autorestic_config | to_yaml }}"
51
51
dest : ~/.autorestic.yml
52
52
mode : " 0600"
53
53
You can’t perform that action at this time.
0 commit comments