geerlingguy/ansible-role-kubernetes

Symlink config is always to root

pablo-kabe opened this issue · 2 comments

Hi, I am trying install kubernetes in vagrant image, and always get this in console, I don't know why that appears if my user with which I am logged in is vagrant

TASK [geerlingguy.kubernetes : Symlink the kubectl admin.conf to ~/.kube/conf.] **************************************
ok: [s1] => {"changed": false, "dest": "/root/.kube/config", "gid": 0, "group": "root", "mode": "0777", "owner": "root", "size": 26, "src": "/etc/kubernetes/admin.conf", "state": "link", "uid": 0}

The destination is /root/, should not be /home/vagrant ?

thanks