diff --git a/playbooks/backup_protocol.yml b/playbooks/backup_protocol.yml index e6963b5..e878803 100644 --- a/playbooks/backup_protocol.yml +++ b/playbooks/backup_protocol.yml @@ -107,7 +107,7 @@ delegate_to: blacktide - name: If too many backups kept - when: all_pfsense_backups | length > backup_number_to_keep + when: all_pfsense_backups.files | length > backup_number_to_keep block: - name: Get the oldest file paths ansible.builtin.set_fact: