equal
deleted
inserted
replaced
|
1 --- |
|
2 |
|
3 - name: create mercurial s3 backup shell script |
|
4 become: yes |
|
5 copy: |
|
6 src: "mercurial-s3-backup.sh" |
|
7 dest: "/usr/local/bin/mercurial-s3-backup.sh" |
|
8 mode: "0755" |
|
9 |
|
10 - name: configure mercurial s3 backup systemd service |
|
11 become: yes |
|
12 template: |
|
13 src: "[email protected]" |
|
14 dest: "/lib/systemd/system/mercurial-s3-backup@{{mercurial_s3_backup_bucket}}.service" |
|
15 notify: reload s3 backup service |
|
16 |
|
17 - name: ensure mercurial s3 backup service is started |
|
18 become: yes |
|
19 systemd: name="mercurial-s3-backup@{{mercurial_s3_backup_bucket}}.service" enabled="yes" |