Commit graph

37 commits

Author SHA1 Message Date
Kevin Fenzi
73a501a933 roles / mariadb: add boolean to allow nagios checks and collectd
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-05 16:38:36 -07:00
Stephen Smoogen
95954ae184 add in vars for db-qa boxes and fix fedmsg relay 2020-05-29 15:02:07 -04:00
Kevin Fenzi
8802fc1823 mariadb: adjust the setting of root password.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:55:28 -07:00
Kevin Fenzi
d9cdb2583d mariadb: turns out we do need python bindings, but they are called python3-PyMySQL on rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:35:04 -07:00
Kevin Fenzi
924325027c mariadb: drop MySQL-python as it's not shipped in rhel8
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-21 10:12:33 -07:00
Kevin Fenzi
c6ba2b8333 no_log is a play task
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
671db804b9 mariadb: Put check_implicit_admin back
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
497f073060 mariadb: might be the check_implicit_admin is busted.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
2095f5afc1 mariadb: try local socket
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
e56fa9edaf mariadb: temp disable no log so I can see why the task is failing.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
e2523e235d mysqld backup: try adding ionice into things.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:11 +02:00
Karsten Hopp
c9ed62ac32 update ansible_distribution_major_version conditionals
Signed-off-by: Karsten Hopp <karsten@redhat.com>
2020-04-24 21:34:10 +02:00
Karsten Hopp
f40b0f0c30 mariadb_server: dnf -> package, with_item changes 2019-06-11 14:55:12 +00:00
Kevin Fenzi
aa337313be Drop enabledrepos extra_repos for now. 2018-10-05 05:13:41 +00:00
Patrick Uiterwijk
adcbf72f03 Packageize this, packageize that, packageize the world
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-10-08 22:25:52 +00:00
cb0ef0b2fd adding new qa-prod01.qa host to replace qadevel.qa 2016-12-15 18:02:29 +00:00
7265a3e841 bumping buffer sizes for mariadb on qa-stg01.qa 2016-12-02 21:18:06 +00:00
4f6005ad18 more mariadb tweaks for phab 2016-12-02 05:03:44 +00:00
82d36431e8 tweaks in php and mariadb config for new phab version 2016-12-02 04:59:06 +00:00
083d4f7940 forcing a non-default log location so that mariadb initializes 2016-11-30 18:05:46 +00:00
2f7de0a5d3 creating a mysql config specifically for qa-stg01.qa 2016-11-30 09:12:00 +00:00
Kevin Fenzi
5c141640d9 switch mariadb backups to 5am for now 2016-10-13 00:38:37 +00:00
Kevin Fenzi
a32f8b9e4a Change ansible_fqdn to inventory_hostname. This fixes some few hosts that have incorrect reverse dns
and shouldn't break any others since we always use fully qualified in our inventory.
2016-05-11 15:08:50 +00:00
Michael Scherer
856abe494e Move a few handlers to the only role using them 2016-04-04 20:46:29 +00:00
Kevin Fenzi
62e16bb9a4 Switch all these places to use dnf/yum state=present instead of latest. This prevents showing changes on package updates. 2016-01-04 18:52:27 +00:00
7bc29a7324 adding dnf support to mariadb_server 2015-11-23 23:48:07 +00:00
Kevin Fenzi
eedf88ae90 This is a module argument 2015-06-23 17:03:38 +00:00
Kevin Fenzi
fe3e1ec182 Lets try and set check_implicit_admin true here to see if that allows it to set the password correctly. 2015-06-23 17:01:29 +00:00
Kevin Fenzi
7fe5b0100e Setup mariadb backup to make a latest link, make nrpe on db03 check that for backup age. 2015-06-08 21:14:36 +00:00
Kevin Fenzi
c517c48a21 Run this as root actually. It seems this may be needing to run as root. 2015-06-04 18:50:51 +00:00
Kevin Fenzi
140af2c7ac This has to have a --user=root in order to be able to access the dbs
It runs as mysql user, but root when connecting to the db.
2015-06-04 18:37:12 +00:00
Kevin Fenzi
ef817b7d0c Add backups for mariadb nightly like we do for postgres.
This allows us to back up /backups and get a good few days database
dumps on mariadb servers.
2015-06-04 17:29:16 +00:00
f7a3d762cb more mysql and phabricator tweaks 2015-05-13 20:46:36 +00:00
81d27bc89b more tweaks to get the right my.cnf onto qadevel-stg 2015-05-13 20:32:33 +00:00
db5c6f9e06 phabricator tweaks for qadevel-stg 2015-05-13 20:29:31 +00:00
988f469c4d adding mariadb port to db-qa01.qa 2015-02-02 04:18:36 +00:00
5c6b60bf7f adding mariadb_server role and needed bits for putting mariadb on db-qa01.qa 2015-01-31 01:35:47 +00:00