Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.
mawinkler edited this page Nov 12, 2019 · 4 revisions

Automatic Updates in Ubuntu Bionic

Bionic does provide an auto-update functionality which locks the dpkg package manager for some minutes after system boot. If you don’t want to wait after a reboot of your ansible server you can safely disable the auto-update function as follows:

sudo fuser -k -v /var/lib/dpkg/lock-frontend
ps -aux | grep -i apt
sudo systemctl disable apt-daily.timer
sudo systemctl disable apt-daily-upgrade.timer

StrictHostKeyChecking

To ease handling with ssh-keys and get rid of WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!, you can disable StrictHostKeyChecking in your ssh_config. You should do this only in non-productive environments, of course.

$ sudo vi /etc/ssh/ssh_config
StrictHostKeyChecking no
Clone this wiki locally