Fix file permissions
diff --git a/files/tmp/set-up-onos.yml b/files/tmp/set-up-onos.yml
index ac76476..53a84f1 100644
--- a/files/tmp/set-up-onos.yml
+++ b/files/tmp/set-up-onos.yml
@@ -22,4 +22,5 @@
- id_rsa
- docker-compose.yml
- # To do: add docker-compose.yml file to cord/ directory
+ - file: path={{ ansible_env['PWD'] }}/cord/id_rsa
+ mode=0600
diff --git a/files/tmp/set-up-xos.yml b/files/tmp/set-up-xos.yml
index a73fe5f..eb296b7 100644
--- a/files/tmp/set-up-xos.yml
+++ b/files/tmp/set-up-xos.yml
@@ -30,6 +30,9 @@
- id_rsa
- id_rsa.pub
+ - file: path={{ ansible_env['PWD'] }}/xos/xos/configurations/cord-pod/id_rsa
+ mode=0600
+
- copy: src={{ homedir }}/admin-openrc.sh
dest={{ ansible_env['PWD'] }}/xos/xos/configurations/cord-pod