From 22eb132b547265f5decdb0b35865af9689bcad16 Mon Sep 17 00:00:00 2001 From: Vitaliy Kukharik <37010174+vitabaks@users.noreply.github.com> Date: Wed, 13 Sep 2023 13:15:16 +0300 Subject: [PATCH] pgbackrest: do not perform the role of ssh_keys in check mode (#466) --- roles/pgbackrest/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/pgbackrest/tasks/main.yml b/roles/pgbackrest/tasks/main.yml index 3e3579649..819821318 100644 --- a/roles/pgbackrest/tasks/main.yml +++ b/roles/pgbackrest/tasks/main.yml @@ -166,6 +166,7 @@ - pgbackrest_repo_type|lower == "posix" - pgbackrest_repo_host is defined - pgbackrest_repo_host | length > 0 + - not ansible_check_mode tags: pgbackrest, pgbackrest_ssh_keys - ansible.builtin.import_tasks: cron.yml