diff --git a/roles/postgres-ha/tasks/main.yml b/roles/postgres-ha/tasks/main.yml
index 88d09cb8b0fb6d73abe87d9a5fbc7c074600c255..c7f55bbd5255cd02d1b90470959a7f75ae113ba6 100644
--- a/roles/postgres-ha/tasks/main.yml
+++ b/roles/postgres-ha/tasks/main.yml
@@ -131,7 +131,7 @@
     owner: postgres
     group: postgres
     content: |
-      IdentityFile	~/.ssh/ed25519
+      IdentityFile	~/.ssh/id_ed25519
       StrictHostKeyChecking	no
       UserKnownHostsFile	/dev/null