Jakub Kadlcik
c9d8a50050
swap: automatically restart swap.swap service
2022-01-23 22:01:14 +01:00
Kevin Fenzi
a9235bfd3d
bastion: move ipa client after vpn
...
We need vpn to reach the ipa servers.
Instead lets try and fix this by not specifying the group in
nagios/client.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 15:22:57 -07:00
Pavel Raiskup
c6a9256a2f
copr-keygen: move handlers to a global place
...
This used to be a role-specific handler, though we have a special
upgrade playbooks (e.g. copr-keygen-upgrade.yml) that failed because
they use but don't import the copr/* roles (and role handlers). So we
would have to either import role-specific handlers explicitly, or do
this commit.
2021-04-27 16:54:20 +02:00
Pavel Raiskup
be237ac785
copr-hv: re-create socket file on libvirtd.socket change
2021-04-23 14:18:54 +02:00
Kevin Fenzi
2e415fc383
koji_hub / kojira: restart kojira when kojira.conf changes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-02-11 09:23:15 -08:00
Brendan Reilly
86b4680c28
Add handlers for restarting mbs poller and workers
2021-01-29 14:26:22 -05:00
Mohan Boddu
ff9b7157bd
Remove the fedora-messaging@koji_sync_listener
...
And add it to handlers and service is fm-consumer@koji_sync_listener
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-06-11 13:22:49 -04:00
Mohan Boddu
1d868aeaf5
Restart fm-consumer@koji_sync_listener not fedora-messaging@koji_sync_listener
...
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-06-11 13:11:57 -04:00
Mohan Boddu
5081dfbc44
Restart fedora-messaging@koji_sync_listener
...
After placing the fedora-messaging config
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-06-11 13:01:39 -04:00
Mohan Boddu
494e99c7fb
koji-sync-listener.py is renamed to koji_sync_listener.py
...
Also removing koji-sync-listerner.service as its not needed anymore
https://pagure.io/fedora-infra/ansible/c/4d37489f6f152ba07099ad7e7ec21eba50994a09
Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
2020-06-11 12:51:02 -04:00
Kevin Fenzi
9f6463ce8f
chrony: add handler to restart on config changes
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-16 12:01:22 -07:00
Kevin Fenzi
0f0910c639
handlers: re-add the xinetd handler we removed because we thought surely nothing could be using this in the year of our lord 2020. OH well
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-14 14:34:16 -07:00
Kevin Fenzi
c529380547
Spring cleaning time. :)
...
I removed all the old files, inventory, playbooks, roles and other from
services we no longer run or use. There was a bunch of cruft in there
and I hope that will make the repo cleaner and easier to look for things
we actually do run and care about.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-13 14:02:41 -07:00
Adam Williamson
5e5f5fae27
Don't do 'nmcli con up' on disabled interfaces
...
This should avoid us turning on interfaces the config is telling
us shouldn't be turned on. Should only affect openQA-related
boxes, as those are the only ones that use ansible_ifcfg_disabled
at present. It is defined as an empty list in group_vars/all, so
we shouldn't need to worry about it not being defined. Also
converts from the deprecated with_items syntax to loop syntax.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-04-29 10:18:10 -07:00
Kevin Fenzi
779fa01877
autocloud: fare well autocloud, you served long and well...
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +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
Kevin Fenzi
1af6fd541b
handlers: Add a restart fedmsg-hub-3 handler as it's used some places now.
...
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-02 16:57:02 +00:00
Stephen Smoogen
8611ab80ed
put in proper checks like we have for other domains
2019-05-29 15:57:26 +00:00
Stephen Smoogen
1be05a2039
put in header checks postmap and restart
2019-05-29 14:59:43 +00:00
Stephen Smoogen
95da782701
we had some entries for bodhi-backend03 which did not make sense to keep. remove them also
2019-05-28 17:23:38 +00:00
Mikolaj Izdebski
89f2e67c8b
Handlers should reload systemd, if needed, before restarting services
2019-02-21 18:58:08 +01:00
Adam Williamson
6c390c669b
First cut at migrating openqa-stg to fedmsg-3
...
This includes some tweaks to the core fedmsg roles to allow a
'generic' way of indicating that a box should use fedmsg-hub-3
not fedmsg-hub, and make the restart notification work for that.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2018-11-26 10:53:16 -08:00
Randy Barlow
ab31dee7e8
Upgrade production to bodhi-3.11.0-3.fc29.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-19 14:22:02 +00:00
Randy Barlow
a19aaaed9e
Upgrade Bodhi staging to 3.11 beta and use Python 3.
...
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
2018-11-08 14:35:19 +00:00
Aurélien Bompard
b1ead55e6f
Fix ansible module option
2018-10-05 07:39:23 +00:00
Patrick Uiterwijk
98b73ff66e
Add handler
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2018-10-04 10:08:10 +00:00
Jeremy Cline
e8b13a2fa4
Raise the file limit on the RabbitMQ cluster
...
RabbitMQ recommends[0] that the open file descriptor limit be set to a
minimum of 50K. It recommends that the maximum number of open
connections be multiplied by 2 and added to the total number of queues.
Finally, it suggests that 500K isn't an unreasonable setting. This sets
the default to 500K and makes the value configurable.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
2018-09-18 15:35:20 +00:00
Rick Elrod
d2b6d8ec2d
add sshd here to attempt fixing the cloud host playbooks?
...
Signed-off-by: Rick Elrod <relrod@redhat.com>
2018-05-31 18:23:39 +00:00
Kevin Fenzi
d55018a9d3
clean up more jenkins leftovers
2018-05-02 17:26:25 +00:00
Kevin Fenzi
0e494da145
shelve darkserver
2018-04-10 20:36:40 +00:00
Kevin Fenzi
e621c76c8f
Fix up the fedmsg handler. Ticket https://pagure.io/fedora-infrastructure/issue/6550
...
Just change the conditional script to use systemctl try-restart and hopefully it will do what we want.
2018-02-20 00:24:11 +00:00
Kamil Páral
acb6babb45
taskotron: add restart buildmaster handler and fix buildslave services
2018-01-05 15:33:48 +01:00
Ralph Bean
ad28cd5c36
Rename this handler.
2017-08-27 20:02:56 +00:00
Ralph Bean
1fefb3b691
Restart fedwatch when this file changes.
2017-08-16 18:04:36 +00:00
Kamil Páral
9a933e3bb5
make 'restart fedmsg-hub' handler not exclusive to bodhi
2017-08-09 13:21:22 +02:00
Kushal Das
0c164f885e
Update notify handler for darkserver
2017-07-27 15:00:24 +00:00
Kevin Fenzi
f400f56c6b
fix handlers and disable notify for now until we roll this out
2017-05-14 21:38:08 +00:00
Kevin Fenzi
960e39e9fb
change method to static, add restart handler for nfs-idmapd and use it
2017-03-06 23:12:51 +00:00
Kevin Fenzi
88555bb24d
forgot the handler
2017-01-30 22:07:38 +00:00
Patrick Uiterwijk
ab40af84d1
Make it a task
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-20 05:16:52 +00:00
Patrick Uiterwijk
a16153d7ad
Combine keytabs together
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-12-20 05:13:49 +00:00
Kevin Fenzi
1effd347df
Setup a proxyreload for httpd that looks for the ticketkey. If it's not there, assume the proxy is just being configured and don't reload httpd.
2016-12-01 21:36:07 +00:00
Kevin Fenzi
41cee6c129
Fix the order of this handler
2016-09-27 16:35:29 +00:00
Stephen Smoogen
9ae6abf3c7
and we need to have a trigger with the right name
2016-09-27 03:09:23 +00:00
Stephen Smoogen
2c055ba46e
and we need to have a trigger
2016-09-27 03:08:25 +00:00
Kevin Fenzi
ca88391df3
More bodhi2 for fedora24 changes.
...
Fix places that except bodhi-backend01 for 03
Don't use the copr we can just use a scratch build
Set fedmsg enpoints
2016-08-12 19:36:37 +00:00
Patrick Uiterwijk
96f4c3985d
Consistency is a virtue
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-08 14:20:48 +00:00
Patrick Uiterwijk
46f8efc01a
Restart basset worker if config was updated
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-07-08 14:16:30 +00:00
Kevin Fenzi
f8bca830ba
Split out this into 3 handlers to avoid warnings
2016-06-22 19:27:37 +00:00
Michael Scherer
062a0f4692
Move koshei handlers to the role
2016-04-09 13:15:18 +00:00