diff --git a/ansible/deploy.yaml b/ansible/deploy.yaml
index d4231451de8e7c85dcf2caeef4c76b0ed201d45a..34bce267763ad29f1e8aaa02b83cbce3f6e59a02 100644
--- a/ansible/deploy.yaml
+++ b/ansible/deploy.yaml
@@ -71,8 +71,7 @@
         state=present
     - name: copy pg_hba.conf file
       copy: 
-        remote_src: true
-        src: /home/{{ deploy_user_name }}/iPPIDB/ansible/pg_hba.conf 
+        src: pg_hba.conf 
         dest: /var/lib/pgsql/data/pg_hba.conf
         owner: postgres
         group: postgres