I am trying to install docker on one of my VMs on esxi, but i get this error
my playbook is below the error
PLAY [installing docker on ubuntu] *********************************************
TASK [vmware_guest] ************************************************************
ok: [localhost] => (item=my_vm_01)
TASK [adding docker gpg key] ***************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Failed to download key at https://download.docker.com/linux/ubuntu/gpg: An unknown error occurred: ~/.netrc access too permissive: access permissions must restrict access to only the owner (/root/.netrc, line 3)”}
PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0