Both is not needed anymore, since ansible docker modules use the api directly.
Copied from https://git.shivering-isles.com/shivering-isles/infrastructure/-/tree/master/roles/sys-upgrade