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