The scenario connects to the server over SSH and does what's needed: installs a database, creates a new one or drops it — from the parameters you set.