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
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
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
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
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
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
Kevin Fenzi
3bc4b4c0e9
keepalived: adjust for new prune signed copies script
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-24 19:48:14 +00:00
Kevin Fenzi
d762294dcb
keepalived: use existance test, not just bool.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-18 20:25:05 +00:00
Kevin Fenzi
f7debffa6c
communishift: Add keepalived iptables rules, and fix interface name in config
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 20:35:20 +00:00
Kevin Fenzi
504053f36f
communishift: add keepalived and mod so it can handle 2 ips.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-11 20:23: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
3a7972233a
do the right thing on failovers on pgbdr
2017-05-26 19:20:41 +00:00
Kevin Fenzi
2fd1d5e10e
add keepalived scripts for pgbdr
2017-05-19 20:13:07 +00:00
Kevin Fenzi
8a6e51a9a6
change state=running to start=started as the old one is going away in ansible 2.7
2017-04-13 01:37:21 +00:00
Kevin Fenzi
cac473a076
now that we have multiple keepaliveds use different router ids
2016-10-17 21:23:58 +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
edafebe7dc
2016-03-30 14:52:03 +00:00
Kevin Fenzi
136e9397fd
Lets not run the same cron job 3 times on koji02.
2015-01-24 15:39:13 +00:00
Kevin Fenzi
e53c6a3a49
Drop this file, not needed
2015-01-23 20:26:07 +00:00
Kevin Fenzi
7902c62425
Adjust for moving koji01/02 to production.
2015-01-23 19:33:38 +00:00
Kevin Fenzi
3a81d28f7c
Tweak things and add a shutdown call
2015-01-16 19:35:04 +00:00
Kevin Fenzi
15a3027781
Fix up }s
2015-01-16 19:27:00 +00:00
Kevin Fenzi
d6212c0b57
Try moving notify script to a group
2015-01-16 19:09:29 +00:00
Kevin Fenzi
1ba5dc01a5
Add in cron and kojira tasks for passive hub. Add keepalived script to enable/disable on master/backup.
2015-01-16 18:57:25 +00:00
Kevin Fenzi
0c99bcc097
And put the config in the right dir
2015-01-14 22:19:51 +00:00
Kevin Fenzi
3734eafcdd
Fix typo
2015-01-14 22:14:12 +00:00
Kevin Fenzi
0ddf29358c
Add a keepalived role.
2015-01-14 21:29:18 +00:00