diff --git a/ansible/files/known_hosts.service b/ansible/files/known_hosts.service
index 0b2951cc04ac7da45c3e2401de3ca134ed247f4f..992ff103ab12c2eec616b76a3cb42cf87a0624be 100644
--- a/ansible/files/known_hosts.service
+++ b/ansible/files/known_hosts.service
@@ -8,4 +8,4 @@ RefuseManualStop=yes
 
 [Service]
 Type=oneshot
-ExecStart=/root/deploy/bin/get_ssh_hosts
+ExecStart=/usr/sbin/get_ssh_hosts
diff --git a/ansible/roles/pds_deb/tasks/main.yml b/ansible/roles/pds_deb/tasks/main.yml
index 8218ad3e8a3f7a76dc302757ce3c82b140eabd6a..36ba46b208aa7f4672b41fc5553519cd208f35d8 100644
--- a/ansible/roles/pds_deb/tasks/main.yml
+++ b/ansible/roles/pds_deb/tasks/main.yml
@@ -58,6 +58,12 @@
   notify:
     - restart nscd
 
+- name: known_hosts update script
+  copy:
+    src: ../bin/get_ssh_hosts
+    dest: /usr/sbin
+    mode: a=rx
+
 - name: known_hosts update service files
   copy:
     src: '{{item}}'