OBS-1490, OBS-1499 and OBS-1501 wound up being interrelated so I'm creating a big PR that resolves all three.
This PR should fix the issues @awalkowiak encountered with mysql not coming up cleanly the week before last.
It also refactors playbooks to remove PIH-specific code from them. Instead, things we need (like firewall rules and additional database users) are extracted from the inventory file. Folks who don't need this extra stuff just don't need to worry about it.
It also adds example inventory and vault files as a guide to help other sites configure their own installations.
It also prevents runaway disk usage by MySQL binlogs. We've only seen this with Oracle MySQL, although until now we didn't specifically turn it off on MariaDB.
While testing this on a clobbered obdev4 I noticed that reset_db.yml and restore_db.yml generate misleading logs when run on a host that hasn't had Openboxes deployed to it yet. That, too, has been fixed.
@jmiranda's request for a single playbook to update config has been granted.
OBS-1490, OBS-1499 and OBS-1501 wound up being interrelated so I'm creating a big PR that resolves all three.
obdev4
I noticed thatreset_db.yml
andrestore_db.yml
generate misleading logs when run on a host that hasn't had Openboxes deployed to it yet. That, too, has been fixed.I also added a lot more to the README.