mancdaz / banana

test issue import
0 stars 0 forks source link

haproxy db users always created #10

Open mancdaz opened 10 years ago

mancdaz commented 10 years ago

Issue by hughsaunders Thursday Aug 21, 2014 at 11:05 GMT Originally opened as https://github.com/rcbops/ansible-lxc-rpc-orig/issues/434


Should probably only create those if haproxy is being used.

https://github.com/rcbops/ansible-lxc-rpc/blob/master/rpc_deployment/roles/galera_setup/tasks/main.yml#L45-L55

mancdaz commented 10 years ago

Comment by d34dh0r53 Thursday Aug 21, 2014 at 20:16 GMT


Not sure what the best way to do this is, we could either add an haproxy flag to a vars file somewhere or move these two grants to the haproxy setup play. There are drawbacks to both approaches, but I personally think it's probably cleaner from the users perspective to move the haproxy grants to the haproxy play.

mancdaz commented 10 years ago

Comment by cloudnull Thursday Aug 21, 2014 at 20:22 GMT


We're going to need a user that can perform a DB check from somewhere, IE F5, so it may be best to simply rename that user that is created to a more general purpose name.