fatal: [kube4]: FAILED! => changed=false msg: apt cache update failed
Closed this issue · 2 comments
When running the playbook I received the following error message in the TASK [geerlingguy.kubernetes : Add Kubernetes repository.]
TASK [geerlingguy.kubernetes : Add Kubernetes repository.] ***************************************************************************************************************************************
ok: [kube2]
ok: [kube1]
ok: [kube3]
fatal: [kube4]: FAILED! => changed=false
msg: apt cache update failed
Seemed weird that it work on nodes 1-3 and failed on 4 as they were all created from the same image.
After searching the web I found an article https://linuxize.com/post/how-to-add-apt-repository-in-ubuntu/ where the issue seems similar. Resolution was to run the following on kube4:
sudo apt install software-properties-common
Once I executed this the error disappeared. Running Raspi-Lite-arm64 which is still in beta.
Created issue to assist other people with same problem. On to my next issue!