From f4fd1b3860fc72b3abbce16e64706dc25b7afbe9 Mon Sep 17 00:00:00 2001
From: Sven Marcus <s.marcus@outlook.de>
Date: Thu, 22 Oct 2020 15:10:52 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 29eb464c8..b938e799e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,7 +75,8 @@ deploy_to_phoenix:
 
   script:
     - ls -l /root/.ssh
-    - chmod 700 /root/.ssh
+    - chmod 600 /root/.ssh/config
+    - chown root /root/.ssh/config
     - ls -l /root/.ssh
     - ansible-playbook -i ansible/hosts.cfg ansible/playbook.yml
 
-- 
GitLab