make instances' IPs available to the roles that need it. and run apt-get update before installing