openstack-ansible/playbooks/plugins
Darren Birkett 9ae6eeca8b set unique galera server-id
Each slave in a mysql replication cluster needs to have a unique
'server-id' set. This is an arbitrary integer, and often people select
1,2,3 etc. For easy deterministic uniqueness without needing to look at
what you've already used, a simple filter has been created to allow for
the hostname to be converted into an integer.

The server ID variable has been added to the my.cnf.j2 template
and the galera_server defaults/main.yml file. The generation of the
server-id variable happens within the `galera-install.yml` play making
it so there is no future impact in role requires.

Change-Id: Id15149e59cb03ab268bb3b7eeaf391334dfc0c01
Fixes-Bug: #1479484
2015-10-02 18:01:58 +00:00
..
actions Create config_template plugin 2015-09-09 08:30:02 +00:00
callbacks Add profiling for Ansible tasks 2015-09-09 15:40:24 +00:00
filters set unique galera server-id 2015-10-02 18:01:58 +00:00
lookups Adds a pep8 target to tox.ini 2015-08-14 11:42:26 +00:00