LS-22: Put DB config in `configure` recipe

* Move db config step to new `configure` recipe
* Ensure template resource is inside block that provide deploy hash