updated to use builtin

pull/15/head
Cian Hatton 3 years ago
parent 6e8ab2e65c
commit 149490e286

@ -32,7 +32,7 @@
when: when:
- docker_backup_fail_on_no_s3_backups - docker_backup_fail_on_no_s3_backups
- s3_list_output.s3_keys | length == 0 - s3_list_output.s3_keys | length == 0
fail: ansible.builtin.fail:
msg: "There were no s3 backups found for {{ docker_backup_s3_volume.name }}" msg: "There were no s3 backups found for {{ docker_backup_s3_volume.name }}"
- name: Exit early if there are no backups. - name: Exit early if there are no backups.

Loading…
Cancel
Save