Michal Konecny
2ec055db6f
Use first uppercase letter for all handlers
...
This will unify all the handlers to use first uppercase letter for
ansible-lint to stop complaining.
I went through all `notify:` occurrences and fixed them by running
```
set TEXT "text_to_replace"; set REPLACEMENT "replacement_text"; git grep
-rlz "$TEXT" . | xargs -0 sed -i "s/$TEXT/$REPLACEMENT/g"
```
Then I went through all the changes and removed the ones that wasn't
expected to be changed.
Fixes https://pagure.io/fedora-infrastructure/issue/12391
Signed-off-by: Michal Konecny <mkonecny@redhat.com >
2025-02-10 20:31:49 +00:00
Kevin Fenzi
0e815134b7
mariadb: use pxz with 2 threads for backups
...
This has anoyingly been alerting of late, so lets try and
see if we can get the backup to finish faster and avoid the
alerts on it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com >
2025-01-20 12:49:47 -08:00
Ryan Lerch
47c68f478d
ansiblelint fixes - fqcn[action-core] - template to ansible.builtin.template
...
Replaces references to template: with ansible.builtin.template
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:30:29 +10:00
Ryan Lerch
25391e95b7
ansiblelint fixes - fqcn[action-core] - package to ansible.builtin.package
...
Replaces many references to package: with ansible.builtin.package
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 11:28:00 +10:00
Ryan Lerch
6a3816dfdc
ansiblelint fixes-- fqcn[action-core] - copy to ansible.builtin.copy
...
Replaces many references to 'copy' with ansible.builtin.copy
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:43:31 +10:00
Ryan Lerch
62952df107
ansiblelint fixes-- fqcn[action-core] - file to ansible.builtin.file
...
Replaces many references to file: with ansible.builtin.file
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-15 10:41:52 +10:00
Ryan Lerch
691adee6ee
Fix name[casing] ansible-lint issues
...
fix 1900 failures of the following case issue:
`name[casing]: All names should start with an uppercase letter.`
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2025-01-14 20:20:07 +10:00
Ryan Lerch
89f6f1fc32
Fix majority of remaining yamllint warnings and errors
...
Signed-off-by: Ryan Lerch <rlerch@redhat.com >
2024-11-28 17:31:45 +10:00
Stephen Smoogen
432a3a497b
Go through and remove entries for EL6 and EL7
...
Using `git grep el6` and `git grep el7` and variants like EL-7 or
el-7, I found various entries and files which were no longer needed
with the current ansible. I updated text or tests to later versions of
RHEL as needed.
found entries for the fedora ami's for the original cloud and removed
those entries also.
Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com >
2024-07-03 22:20:30 +00:00
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
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
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
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
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
Tim Flink
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
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
Tim Flink
988f469c4d
adding mariadb port to db-qa01.qa
2015-02-02 04:18:36 +00:00
Tim Flink
5c6b60bf7f
adding mariadb_server role and needed bits for putting mariadb on db-qa01.qa
2015-01-31 01:35:47 +00:00