ansible-role-kubernetes
ansible-role-kubernetes copied to clipboard
Add KUBELET_EXTRA_ARGS step fails
On Ubuntu 20.04 with kubernetes v1.20.5, this error appears for wn:
TASK [grycap.kubernetes : Add KUBELET_EXTRA_ARGS] **************************************************************************************************************
fatal: [x.y.z.x]: FAILED! => {"msg": "No file was found when using first_found. Use errors='ignore' to allow this task to be skipped if no files are found"}
As a workaround I have commented out the step
Hi @enolfc Could you confirm that, in the VM where it is failing, none of this directories exists?: - /etc/sysconfig/ - /etc/default/
Hi @enolfc,
I added a workaround to aviod the error.
But in ubuntu 20.04 the directory /etc/default/
afaik must exist.
It does exist:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal
$ ls /etc/default/
amd64-microcode bsdmainutils cron docker grub.ucf-dist irqbalance mdadm nfs-common open-iscsi rsync useradd
apport console-setup cryptdisks grub grube keyboard motd-news nss pollinate ssh
aufs crda dbus grub.d intel-microcode locale networkd-dispatcher ntp rpcbind ufw