mercurial/aws-s3-backup/tasks/main.yaml
changeset 157 5e5c9e605142
parent 56 59e94b4a91a2
--- a/mercurial/aws-s3-backup/tasks/main.yaml	Sat Jul 03 13:23:46 2021 -0500
+++ b/mercurial/aws-s3-backup/tasks/main.yaml	Sat Jul 03 13:24:52 2021 -0500
@@ -7,6 +7,13 @@
     dest: "/usr/local/bin/mercurial-s3-backup.sh"
     mode: "0755"
 
+- name: create s3 backup lifesycle json file
+  become: yes
+  copy:
+    src: "mercurial-s3-backup-lifecycle.json"
+    dest: "/usr/local/share/mercurial-s3-backup-lifecycle.json"
+    mode: "0755"
+
 - name: configure mercurial s3 backup systemd service
   become: yes
   template: