geerlingguy / ansible-role-drupal

Ansible Role - Drupal
https://galaxy.ansible.com/geerlingguy/drupal/
MIT License
92 stars 51 forks source link

Option to specify if MySQL is remote or localhost #21

Closed adamstrawson closed 7 years ago

adamstrawson commented 8 years ago

Not sure if this is of use to you, or if it's a specific edge case to us, but in this pull request you can specify the MySQL host if it's not localhost.

By default it'll continue to install MySQL as localhost.

New default variables added;

drupal_mysql_host: localhost   # hostname of MySQL instance
drupal_mysql_install: true     # Specify to install MySQL or not when using a non-localhost instance
geerlingguy commented 7 years ago

Closing this out, as I'm working on completely rewriting the role for the next release, so it will work a lot more smoothly with multiple Drupal workflows (especially focused on Drupal 8, but also for D7 and somewhat D6). See: https://github.com/geerlingguy/ansible-role-drupal/issues/23