diff --git a/backup-i3.yml b/backup-i3.yml index 8519503..8444c55 100644 --- a/backup-i3.yml +++ b/backup-i3.yml @@ -11,3 +11,6 @@ path: /var/lib/docker/volumes # Replace with the path of the directory or files you want to archive dest: "/root/backups/volumes-{{ current_date }}.tar.gz" # Replace with the desired destination path format: gz + - name: Upload tar file to S3 + ansible.builtin.command: + cmd: "s3cmd put /root/backups/volumes-{{ current_date }}.tar.gz s3://eron/i3" \ No newline at end of file