Commit Graph

287 Commits

Author SHA1 Message Date
Kevin Fenzi
c62e1573f7 storinator01: use same vpn ip as it did in rdu-cc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-02-10 11:11:39 -08:00
Kevin Fenzi
561b15591d proxy03/14: use correct hostname for ccd file
This is based on the hostname, and will assign the actual correct vpn
ips to proxy03/14, which will help https://pagure.io/fedora-infrastructure/issue/12833

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-01-19 13:54:02 -08:00
Greg Sutcliffe
dab61bf938 openvpn/server: assign IP to ipsilon03
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
2025-11-24 16:35:57 +00:00
Kevin Fenzi
282930838c openvpn/server: assign ip to pagure-stg02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-11-19 13:51:24 -08:00
Michal Konecny
be433f7221 [openvpn] Remove bastion-iad01 from client conf
IAD2 is no more, let's remove the bastion from openvpn conf.
2025-07-25 09:48:40 +02:00
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Kevin Fenzi
6d4f4da388 openvpn/server: install the right ccd files in rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-30 11:56:45 -07:00
Kevin Fenzi
a130888041 bastion / rdu3 / openvpn_server: setup ccd files for rdu3 bastion openvpn
This deploys a new set of ccd files to bastion*rdu3 for openvpn.
Right now bastion01.iad2 is the vpn hub/server for all connections.
Once dns is changed and clients restarted, they will connect to
bastion01.rdu3.

These ccd files swap the iad2 for rdu3 servers.
So, for example now 'wiki01.vpn.fedoraproject.org', or 'wiki01' as the
proxies call it, will go to wiki01.iad2.fedoraproject.org.

After the dns switch and client reconnects here,
wiki01.vpn.fedoraproject.org/wiki01's ip will be claimed by
wiki01.rdu3.fedoraproject.org instead and wiki01.iad2 will get a dynamic
ip (or will be just turned off).

This will allow us to more easly move services from proxies.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-28 08:12:44 -07:00
Kevin Fenzi
bb34f3506a nagios-rdu3: add website, proxy, vpn endpoint
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-20 20:48:07 -07:00
Kevin Fenzi
df708c6e37 Add certgetter01.rdu3 and vpn ccd file for it.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-19 10:05:33 -07:00
Kevin Fenzi
5361223938 openvpn: set ccd files for rdu3 worker nodes, add them to the var so proxies will use them, still need to get openvpn working on workers
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-15 16:57:28 -07:00
Kevin Fenzi
cf68c038f5 openvpn / ccd: add ccd file for proxy01.rdu3
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-05-29 12:02:04 -07:00
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
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
Kevin Fenzi
c53deb118f ppc64le-test02: add ccd file
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-10-04 10:53:42 -07:00
Kevin Fenzi
f2fe6956ff openvpn / people01: fix vpn endpoint on people01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-25 17:04:28 -07: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
e9d7a82877 db-datanommer02.stg: add a rhel9 staging datanommer db host
We want to migrate db-datanommer01.stg to this to make sure things work
ok before doing the prod one next week.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-09 16:28:00 -07:00
Kevin Fenzi
1766a60244 also move openvpn ccd file
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-05-09 16:01:41 -07:00
David Kirwan
e3459c2b87 zabbix: add vpn to zabbix01
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
2024-03-12 10:27:43 +00:00
Kevin Fenzi
8d89c61c89 torrent01: setup vpn ip
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-11-28 15:21:25 -08:00
Kevin Fenzi
a54eac0968 maintainer-test: forgot some ccd files from these
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-08-26 10:46:35 -07:00
Kevin Fenzi
c0ed118eaa maintainer_test: reuse some old maintainer test vpn ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-08-24 14:58:09 -07:00
Kevin Fenzi
19830a2265 ibiblio02: add vpn ccd file
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-06-08 09:38:06 -07:00
Kevin Fenzi
ddfd50de03 smtp-auth-cc-rdu01: create new smtp auth relay
We need this to try and relay in emails.
It turns out to be bordering on impossible to do this sanely with our
current setup, so make a fedora vm that lets us use saslauthdb to have a
specific (small) list of users that can authenticate and relay emails
via bastion and out. We can't do this on rhel, because they don't build
the saslauthdb backend. We can't use any of the other backends because
they either don't work or would allow any fedora user to relay, which we
do not want.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-05-18 14:35:49 -07:00
Kevin Fenzi
49cdae0e41 openvpn / server: add ccd files for ocp worker nodes
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-09 13:04:57 -07:00
Kevin Fenzi
00057ef856 internetx02 enters the arena
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-31 21:51:07 -07:00
Mark O Brien
c727ff254b maintainer-test: add missing files for f36
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-03-28 11:59:15 +01:00
Mark O Brien
57fa4c40bc add vpn info for el9-test
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-12-20 15:23:05 +00:00
Mikolaj Izdebski
137f156d5a openvpn/server: Add config for value02.iad2.fedoraproject.org 2021-11-03 16:24:20 +01:00
Mark O Brien
59fa8cb866 maintainer-test: create f35 instance and vpn settings
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-10-13 13:10:09 +00:00
Kevin Fenzi
738c89d04d vmhost-p08-copr02: add second power8 box in rdu-cc
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-12 19:07:52 -07:00
Kevin Fenzi
6571c326ee Storinator01.rdu-cc: add host back in
We add vpn to it to make ipa work, drop old openshift volumes, change
the name and in general get it ready to add to ansible.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-01 14:19:59 -07:00
Kevin Fenzi
07fd9a34aa add vmhost-p08-copr01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-26 10:50:51 -07:00
Kevin Fenzi
b87ea6573f add vpn endpoint for vmhost-a64-cc01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-24 15:54:14 -07:00
Kevin Fenzi
8626857460 cloud-noc-os01: add vpn
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-06-18 09:50:57 -07:00
Kevin Fenzi
3caebd6095 openvpn/server: really remove the group
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 15:29:06 -07:00
Kevin Fenzi
0760ee57a6 openvpn / server: make the ccd dir idempotent
Right now this task makes the ccd dir as 0755 and root.root, but then a
later task syncs this from batcave01 and it gets 2755 and
root.sysadmin-main. Just change this to match so we are more idempotent.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-05 14:53:03 -07:00
Kevin Fenzi
c902575f49 openvpn / base: clean up more RedHat and el6 conditionals
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:32:36 -07:00
Kevin Fenzi
c0eba5712b openvpn /client: drop another unneeded conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:25:17 -07:00
Kevin Fenzi
519b756751 openvpn / client: drop another unneeded conditional
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:20:19 -07:00
Kevin Fenzi
9403ed2309 openvpn / client: drop tons of old cruft for el6 and old openvpn
We had a bunch of old el6 conditionals in here, and we have 0 el6
machines. We also now have some CentOS instances, so we shouldn't check
for RedHat or Fedora anymore. Also, everything is using the newer
openvpn now so no need to make sure the old one is stopped.
This should not affect the vast majority of hosts, but it should allow
the el7/el8-test instances vpns to actually work.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 14:09:33 -07:00
Kevin Fenzi
8a59695693 Add maintainer_test and copr vmhosts to vpn
We need to add these hosts to the vpn to use ipa for auth on them.
They are in the 192.168.100 network, which is the 'more restricted'
subnet of vpn. After the freeze we will probibly want to lock this down
more with a rule on all hosts except ipa* to reject everything from
them. In the mean time the firewall rules blocking most things should be
ok for now.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-16 11:38:26 -07:00
Kevin Fenzi
658df6e677 debuginfod: move to port 8002 and add vpn
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 15:30:01 -07:00
Stephen Smoogen
da105b0f3b NS13 needs a openvpn ccd file to work
Signed-off-by: Stephen Smoogen <smooge@smoogespace.com>
2021-03-30 16:42:30 -04:00