Hello Trinh,
First of all, we usually install databases and application on a separate server. So I have two main playbooks: one for the application server and one for the database server. For a new installation I:
- run playbook for the database server (it installs mysql, mongo, etc);
- run create_db_and_users.yml playbook (the same host in inventory);
- run playbook for the application server.
After the provisioning of the application server, the system is ready for work (just create an admin superuser).
I've tried this solution for small installations - no database clustering or replication: the database playbook included only edxapp_common, mysql and mongo roles.
Liubov
суббота, 19 августа 2017 г., 12:33:48 UTC+3 пользователь Trinh Nguyen написал: