Skip to content

Commit

Permalink
Update satellite backup check for ansible 2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
chris1984 authored and John Mitsch committed Sep 18, 2020
1 parent 6cf444d commit 68f502c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
when:
- clone_metadata_exists
- backup_metadata is defined
- backup_metadata | success
- backup_metadata is success
4 changes: 2 additions & 2 deletions roles/satellite-clone/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@

- name: setting fact - access_foreman_dump
set_fact:
clone_no_foreman_dump_access: "{{ access_foreman_dump | failed }}"
clone_no_foreman_dump_access: "{{ access_foreman_dump is failed }}"
cacheable: true

- name: test candlepin.dump file is readable by postgres user
Expand All @@ -158,7 +158,7 @@

- name: setting fact - access_candlepin_dump
set_fact:
clone_no_candlepin_dump_access: "{{ access_candlepin_dump | failed }}"
clone_no_candlepin_dump_access: "{{ access_candlepin_dump is failed }}"
cacheable: true

- name: fail if postgres user doesn't have access to files
Expand Down

0 comments on commit 68f502c

Please sign in to comment.