Alex Kunin

While working on Ansible-powered deployment, I’ve came across the “connection parameters pattern”. E.g. here is a typical set of variables that define where an app can find MySQL DB and how to access it:

MYSQL_HOST: db.example.net
MYSQL_PORT: 3306
MYSQL_USER: user1
MYSQL_PASSWORD: secret
MYSQL_DATABASE: app_db

Passing around five variables might be…

--

--