Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Dec 26, 2023
1 parent 2dad38a commit 3b9ecde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/pgbackrest/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
- pgbackrest_repo_host | length > 0
tags: pgbackrest, pgbackrest_conf

# if pgbackrest_repo_host or "backup-standby" is set
# if 'pgbackrest_repo_host' or 'backup-standby' are specified
- ansible.builtin.import_tasks: ssh_keys.yml
when: (pgbackrest_repo_host is defined and pgbackrest_repo_host | length > 0) or
(pgbackrest_conf.global | json_query("[?option=='backup-standby'].[value=='y']") | length > 0)
Expand Down

0 comments on commit 3b9ecde

Please sign in to comment.