minecraft/aws-s3-backup/tasks/main.yaml
changeset 158 1b7ccb729164
parent 156 ebd8a21a0e62
child 164 ae19501f5251
--- a/minecraft/aws-s3-backup/tasks/main.yaml	Sat Jul 03 13:24:52 2021 -0500
+++ b/minecraft/aws-s3-backup/tasks/main.yaml	Sat Jul 03 13:38:02 2021 -0500
@@ -7,6 +7,13 @@
     dest: "/usr/local/bin/minecraft-s3-backup.sh"
     mode: "0755"
 
+- name: create s3 backup lifesycle json file
+  become: yes
+  copy:
+    src: "minecraft-s3-backup-lifecycle.json"
+    dest: "/usr/local/share/minecraft-s3-backup-lifecycle.json"
+    mode: "0755"
+
 - name: configure minecraft s3 backup systemd service
   become: yes
   template: