Verified Commit da8bea46 authored by Florian Pritz's avatar Florian Pritz
Browse files

Fix deprecated result|failed syntax

Signed-off-by: Florian Pritz's avatarFlorian Pritz <>
parent 00883875
......@@ -13,7 +13,7 @@
- name: init borg repository
command: borg init -e keyfile {{ backup_host }}:{{ backup_dir }}
when: borg_list | failed
when: borg_list is failed
ignore_errors: True # This can sometimes fail if a backup is in progress :/
......@@ -35,7 +35,7 @@
- name: make postgres backup directory
file: path=/var/lib/postgres/backup owner=postgres group=postgres state=directory
when: check_postgres_user|succeeded and postgres_backup_dir is defined
when: check_postgres_user is succeeded and postgres_backup_dir is defined
- name: install mysql backup script
template: dest=/usr/local/bin/ owner=root group=root mode=0755
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment