Adding a worker fails on the package cache

Adding a worker fails when the bootstrap play updates the package cache because the registry configuration does not cover operating system packages.

Condition

The bootstrap play fails at the task that updates the package cache.

Cause

The registry configuration does not cover operating system packages, so apt needs the public repositories.

Remedy

Use an air-gapped node image or a package mirror, as described in Preparing OS images for cluster nodes.