I wrote ansible playbook for starting up a production Django server with PostgreSQL, Gunicorn and Nginx.
When I tested the script, I used the Ubuntu Server image from this link. All I needed to install additionally was an ssh server for ansible to work.
sudo apt update && sudo apt upgrade
sudo apt install openssh-server
I used a VirtualBox image and set the network settings to bridge mode. The IP address was obtained via the dhcp protocol. The command to display the ip address is ip addr
.