Commit graph

275 commits

Author SHA1 Message Date
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
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
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
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
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
Mark O'Brien
f952b7a715 add ipsilon02 2021-03-22 15:38:28 +00:00
Mark O'Brien
63ef253011 ipsilon: new prod vm 2021-03-22 11:54:33 +00:00
Kevin Fenzi
02eac50add Add a ipa03 host.
We want to add another ipa server host in case the load gets large when
we migrate from fas. We can always nuke this one or add more.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-19 21:14:42 +00:00
Kevin Fenzi
4b067c6fec openvpn / server / ccd files: Fix hosts that had the old transition iad2 vpn
When we moved datacenters we had iad2 pointing to 192.168.20 at various
points to migrate things. We should no longer have any hosts using that
ip range. Move them all back.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 08:44:33 -07:00
Stephen Smoogen
d0a5454a59 add in vpn files for proxy101/proxy110 to get them from erroring 2020-09-21 12:39:51 -04:00
Mark O'Brien
9f7b9f5d54 [proxies] add host vars proxy39/40 2020-09-16 11:41:47 +01:00
Kevin Fenzi
87d5bc23de openvpn / server: Add ccd file for pagure02
Note that this just needs to add a new ccd file, nothing has to be
restarted and it can't possibly be used by anything but
'pagure02.fedoraproject.org' so it should not affect freeze on bastion.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-15 13:48:56 -07:00
Kevin Fenzi
350f52aea9 rename vmhosts in rdu-cc so they don't overlap with hosts in iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-09-04 13:46:41 -07:00
Mark O'Brien
e4e6ede45b [proxies] add proxy37/38 2020-09-01 15:45:29 +01:00
Kevin Fenzi
1cf024e37f Freeze break request: add vpn ccd file and vpn role to retrace
We need retrace03 on the vpn at least for now, or else 2fa won't work.
At some point when fasClient is gone we may be able to drop this
when we switch to sssd or something else.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-08-25 14:12:12 -07:00
Mark O'Brien
5f114a7c98 [proxies] setup for proxy35/36 2020-08-24 17:21:00 +01:00
Mark O'Brien
1189897518 [proxies] allow outside servers access to infrastructure 2020-08-06 15:15:31 +01:00