Commit Graph

31 Commits

Author SHA1 Message Date
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
7139709ebd rsyncd: modernize tasks for fedora and rhel versions with xinetd and rsyncd.service
We don't have any more fedora instances that are f34 or before (with
xinetd was dropped) and now we have some rhel9 hosts that don't have
xinetd.

So, adjust the tasks to always use the systemd service on fedora and
rhel9 and use xinetd on rhel7/8.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-04-06 14:12:49 -07:00
Kevin Fenzi
261879c688 rsyncd: use systemd service on rhel9 as well as fedora
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-03-15 15:34:32 -07:00
Kevin Fenzi
36eaa708fa rsyncd: fix correctly this time (I hope)
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:22:03 -08:00
Kevin Fenzi
14a7ec3046 rsyncd: fix conditional harder
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:16:11 -08:00
Kevin Fenzi
921add1320 dns: adjust conditionals for dns servers using rhel9
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-24 16:07:50 -08:00
Kevin Fenzi
5b5b2c0b4d rsyncd: drop restarting xinetd handler for fedora hosts, it no longer exists
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-25 16:24:08 -07:00
seddikalaouiismaili
dc576316fd replace xinetd by systemd for fedora >= 34 2021-09-29 18:51:19 +00:00
Rick Elrod
2151aee9fd rsyncd: try to fix role for python3 boxen
Signed-off-by: Rick Elrod <relrod@redhat.com>
2020-04-24 21:34:18 +02:00
Kevin Fenzi
81fb4582e7 ansible: change when conditions to use == instead of is when checking strings.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:10 +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
d0f4549304 rsyncd: dnf -> package, with_item changes 2019-06-11 16:10:11 +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
Stephen Smoogen
3f7298ce8d ok we use a template for the download servers and not for the rest 2017-06-27 13:39:17 +00:00
Stephen Smoogen
eb97e01e9d well looks like I didnt commit this afterall 2017-06-26 18:30:27 +00:00
Kevin Fenzi
a5baef4d61 fix this variable issue another way 2017-03-09 21:10:50 +00:00
Kevin Fenzi
acad15248c add tags to rsyncd role 2017-03-09 21:08:00 +00:00
Kevin Fenzi
08c6cf0497 change order here so things actually work 2017-03-09 21:02:49 +00:00
Kevin Fenzi
42afc9a637 Fix a bunch of places that didn't use the full correct mode 2016-08-08 19:53:57 +00:00
Kevin Fenzi
04a52b8667 Death to all trailing whitespace. 2016-08-08 19:36:31 +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
f0c80375b5 Remove action: in all roles. 2016-01-06 21:58:31 +00:00
Kevin Fenzi
2e1bf254a5 Another one. 2015-11-09 17:45:16 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Ricky Elrod
8b59c4a93f This needs libsemanage-python
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 21:24:48 +00:00
Kevin Fenzi
8fc6694c5f Set some sebools on sundries. 2014-05-21 17:38:51 +00:00
Kevin Fenzi
ec4b02c539 In staging, host_group is automagically staging, so use rsync_group instead here. 2014-05-21 15:47:07 +00:00
Ricky Elrod
989f4f1e6b More downloadXX fun 2014-05-15 03:31:02 +00:00
Kevin Fenzi
38f0c628ba Kinda need xinetd as well. 2014-03-17 16:11:23 +00:00
Kevin Fenzi
36cc6f7cb1 Tweak service 2014-03-17 16:09:11 +00:00
Kevin Fenzi
7316ef1ca3 Add a rsyncd role. For now just to sync logs to log02, but can be extended to download later. 2014-03-17 15:55:26 +00:00