Commit Graph

56 Commits

Author SHA1 Message Date
Gregory Bartholomew
7e69bf85e8 redirect torrent.fp.o to fp.o/torrents
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2026-01-22 22:31:24 +00:00
Gregory Bartholomew
34d8d38c45 torrent: remove torrent-web-generate.cron
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-10-30 18:22:38 +00:00
Gregory Bartholomew
de6a9a68bd torrent: add a do_json_output subroutine
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-09-17 17:52:59 +00:00
Gregory Bartholomew
b3202768cf torrent: sort fedora releases in desc. order
Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
2025-09-17 17:38:28 +00:00
Kevin Fenzi
81229d2315 torrent01: fix ipv4 config as well
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-20 14:07:53 -07:00
Kevin Fenzi
369337d0a0 update torrent and mediawiki configs for new ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-08-20 14:03:16 -07: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
462176464b ansiblelint fixes-- fqcn[action-core] - command to ansible.builtin.command
Replaces many references to  command: with ansible.builtin.command

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2025-01-15 11:26:47 +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
Jiri Podivin
091445e61f Fixing nonsensical value
Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
2024-09-18 19:57:30 +00:00
Samyak Jain
5cbb912267 Fix torrent-generator to be compatible with 3.9 and rhel changes
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-04-10 21:58:13 +00:00
Kevin Fenzi
134510ba86 torrent: move torrentjsonstats to python3
This is an old python2 script. I had manually hacked it when I moved
torrent to rhel9, but a recent playbook run over everything put the old
python2 one back. So, lets fix it for once in ansible.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-01-17 12:43:04 -08:00
Kevin Fenzi
39fb630d97 torrent: set config for torrent01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-29 12:07:05 -08:00
Kevin Fenzi
c1187db20b torrent: setup torrent user/group
This used to get setup by the bittorrent package, but we don't use that
anymore, so lets do it manually here. We need these to own various
torrent content.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-28 16:01:21 -08:00
Ryan Lerch
da904d0c41 move legacy css to apps.fp.o/global
This als fixes the broken css on:

* https://fedoraproject.org/easyfix/
* https://torrent.fedoraproject.org
* https://admin.fedoraproject.org/fingerprints

Signed-off-by: Ryan Lerch <rlerch@redhat.com>
2023-04-24 12:09:14 +10:00
Kevin Fenzi
dd31639a9a torrent02: drop btseed, we just use rtorrent now
We used to use btseed, but it stopped working and we couldn't sort out
why, so we switched to running rtorrent in a tmux instead. Its not
great, but it does work for a seeder.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-12-02 14:45:44 -08:00
Kevin Fenzi
d55a6e96e8 torrent: new ipv6 ip for tracker
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 17:19:34 -08:00
Eddie Jennings, Jr
6ef496d56a Reconfigure IPv6
Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Configure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Reconfigure IPv6

Configure IPv6

Update IPv6 address for noc02 rule

Update IPv6 address in confg for noc02 address change

Update IPv6 address for proxy04

Update IPv6 address for torrent02
2021-11-08 22:56:05 +00:00
Kevin Fenzi
4b7c31a882 cleanup: remove all the duplicate tests for selinux python bindings in favor of the ones in base.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-16 10:54:58 -07:00
Patrick Uiterwijk
936e8b261a yum accepted pkg=, package calls it name=
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2017-10-09 00:38:26 +02: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
e19f187616 add -4 to wget on torrent for stats or otherwise it uses ipv6 and fails due to an access error 2016-12-21 16:09:29 +00:00
Kevin Fenzi
b1a2d105c9 In ansible 2.2 always_run is depreciated. Switch to check_mode. 2016-11-01 16:29:49 +00:00
Kevin Fenzi
f122f4bd0d Needed for semanage 2016-02-12 19:26:37 +00:00
Kevin Fenzi
d09ed7b4f4 Switch nagios to monitor torrent02.
Switch torrent ips in config to torrent02.
2016-02-10 20:38:37 +00:00
Till Maas
e3606ba68e Use more https URLs where possible 2015-06-04 17:20:06 +02:00
Kevin Fenzi
a25a6cf15d cron.d entries should be mode 644. 2015-05-05 20:21:56 +00:00
Kevin Fenzi
61a9f16ff9 Fix some typos in this torrent stats script. 2015-05-05 20:18:46 +00:00
Kevin Fenzi
5f1b738fab Drop spins generation we don't need it anymore. 2015-05-04 18:01:27 +00:00
Kevin Fenzi
10fc4fc096 Fix IndexOptions to be correct. 2015-05-04 17:51:53 +00:00
Kevin Fenzi
5722b05d51 Also start opentracker-ipv6. It now seems to work ok. 2015-05-04 17:46:12 +00:00
Kevin Fenzi
35031730d2 Move these up one level. They were mismatched with the cron job and in a duplicate subdir 2015-05-04 17:35:54 +00:00
Kevin Fenzi
f94a9c4d8a Add more width to indexes so files are readable. 2015-05-04 17:29:44 +00:00
Kevin Fenzi
81e78f3105 Fix more cases of gzipped data. 2015-05-04 17:26:02 +00:00
Kevin Fenzi
303f63abdd These stats are now gzipped for some reason. Ungzip before running python on it. 2015-05-04 17:19:03 +00:00
Kevin Fenzi
8441d3528c Clean up some more cron jobs/stats scripts. 2015-05-04 17:10:58 +00:00
Kevin Fenzi
2693bec253 Add selinux context setup for /srv/web 2015-05-04 17:02:58 +00:00
Kevin Fenzi
ca4aac336c Set torrent to listen on 443 and set sslonly. 2015-05-04 16:59:17 +00:00
Kevin Fenzi
073326f856 Try setting the DocumentRoot here. 2015-05-04 16:48:14 +00:00
Kevin Fenzi
cd5e0996b4 Move torrent web files to more standard /srv/web dir and adjust scripts 2015-05-04 16:26:50 +00:00
Kevin Fenzi
98dbde496c Fix typo in copy 2015-05-04 16:14:10 +00:00
Kevin Fenzi
ff16e2ce8b Add ssl/certs and website to new torrent.
Fix ipv6 address in config.
Fix apache configs to just add dir access.
2015-05-04 16:09:03 +00:00
Kevin Fenzi
96221ca5c9 Add systemd unit for btseed. Fix config. Enable services. 2015-05-04 15:18:28 +00:00
Kevin Fenzi
d06c29aba3 Setup modes for some scripts on torrent too. 2015-05-01 21:47:08 +00:00
Kevin Fenzi
c5ee5e73c8 Drop this incomplete fragment 2015-05-01 21:03:08 +00:00
Kevin Fenzi
e4e2e5dcc5 Try removing this trailing / and see if that makes ansible happy. 2015-05-01 20:59:30 +00:00
Kevin Fenzi
a8329c6969 ansible should make the tree up to the requested dir by default 2015-05-01 20:54:59 +00:00