diff options
-rw-r--r-- | xci/playbooks/configure-opnfvhost.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/playbooks/configure-opnfvhost.yml b/xci/playbooks/configure-opnfvhost.yml index af90c9dc..8656ff9d 100644 --- a/xci/playbooks/configure-opnfvhost.yml +++ b/xci/playbooks/configure-opnfvhost.yml @@ -99,4 +99,4 @@ - name: Generate authorized_keys shell: "/bin/cat {{ OPNFV_SSH_HOST_KEYS_PATH }}/opnfv/root/.ssh/id_rsa.pub >> ../file/authorized_keys" - name: Append public keys to authorized_keys - shell: "/bin/cat /root/.ssh/id_rsa.pub >> ../file/authorized_keys" + shell: "/bin/cat {{ ansible_env.HOME }}/.ssh/id_rsa.pub >> ../file/authorized_keys" |