diff --git a/group_vars/all/backup.yml b/group_vars/all/backup.yml index 717d29c..3342bff 100644 --- a/group_vars/all/backup.yml +++ b/group_vars/all/backup.yml @@ -16,3 +16,10 @@ backup_hosts: keep_daily: 7 keep_weekly: 4 keep_monthly: 6 + portainer1-jim.im.lab: + storage_size_gb: 5 + source_directories: + - /data/compose + keep_daily: 7 + keep_weekly: 4 + keep_monthly: 6 diff --git a/setup_linux.yml b/setup_linux.yml index efc7cd7..ded2a0f 100644 --- a/setup_linux.yml +++ b/setup_linux.yml @@ -101,4 +101,10 @@ - name: Set system hostname to inventory_hostname ansible.builtin.hostname: - name: "{{ inventory_hostname }}" \ No newline at end of file + name: "{{ inventory_hostname }}" + +# ============================== +# FOURTH PLAY: BACKUP +# ============================== + +- import_playbook: backup.yml \ No newline at end of file