Commit graph

325 commits

Author SHA1 Message Date
Frank Ch. Eigler
f3a095d430 sort inventory/group_vars/all 2023-02-15 15:51:09 -05:00
Frank Ch. Eigler
21d24f7e69 Add host variable dnf_automatic_type to influence dnf-automatic-install mode
Set it to "security" for status quo ante for most hosts,
and "default" for debuginfod* hosts.
2023-02-15 15:27:16 -05:00
Kevin Fenzi
68f4ecd690 defaults: set network_allow_restart: yes
linux system roles does a fine job configuring networking on our
systems, but without this it just configures it but doesn't bring things
'live' until a 'nmcli c up eth0'. Just set this so it should allow it to
restart things and reflect the network as we want it right after the
playbook runs on it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-30 13:53:15 -08:00
Kevin Fenzi
3328386f51 fix more vim syntax fun
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 09:26:48 -08:00
Kevin Fenzi
c652719988 vim did something weird here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:53:49 -08:00
Kevin Fenzi
47cf07184e wildcard-2023.fedoraproject.org: new wildcard ssl cert
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2023-01-11 08:48:40 -08:00
Kevin Fenzi
5ca2b2eb36 os.fedoraproject.org / app.os.fedoraproject.org: remove more old openshift 3.11 cluster stuff
It may be that having this on some of the proxies is causing problems
because it's trying to ping the old openshift 3.11 cluster and filling
up apache slots with it. We do not need this stuff anymore, so remove
it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-12-16 10:15:27 -08:00
Kevin Fenzi
54f746d30e proxies: drop mirrors*.centos.org certs, use letsencrypt locally instead
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-27 10:28:59 -07:00
Kevin Fenzi
ad2e66cbf5 buildvm-a32: try and adjust install so bridge works
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-12 16:38:04 -07:00
Kevin Fenzi
192fffe3d2 buildvm_s390x_kvm: fix virt-install for new vars on s390x and move to f36
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-07-06 11:47:21 -07:00
Kevin Fenzi
8398aec029 basessh: enable internal sftp server globally.
In the past we only enabled sftp on servers where we needed it.
(ones using sshfs, ones that users might need to sftp to, etc).
However, now days the openssh scp client uses sftp, so we might as well
just enable it globally so people don't need to use 'scp -O' (which
has it use the old scp protocol, which will be removed someday).

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-29 14:17:13 -07:00
Kevin Fenzi
eb91baeb29 vist-install: fix gw
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-28 18:35:29 -07:00
Kevin Fenzi
b1abc7c540 Default to ocp4, clean up some last few apps
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-24 14:15:55 -07:00
Kevin Fenzi
7fa10cf59b Revert "cloud-noc01: test fixing passing vars to task and abstract paths out"
This reverts commit d59a7c2c44.
2022-06-13 17:06:33 -07:00
Kevin Fenzi
d59a7c2c44 cloud-noc01: test fixing passing vars to task and abstract paths out
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-13 16:33:10 -07:00
Kevin Fenzi
91ccdea73f proxies: Reach ocp4 cluster in prod over vpn instead of sending 421
I think I handled all the special cases here already.
We want to switch non iad2 proxies to reach the oco4 cluster over it's
vpn now that it has one. This should allow us to still keep ipv6
available for applications and not have to change dns for moving from
ocp3 cluster anymore. Will roll this out slowly to one proxy then
another, then the rest if it all looks ok.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-13 10:08:48 -07:00
Kevin Fenzi
849126d89a openvpn: move ocp_nodes var to all, drop node-selector from testing
Putting ocp_nodes in group_vars/all allows both proxies and openvpn
openshift app to use it.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-09 13:51:56 -07:00
Kevin Fenzi
a6b33434f0 virt-install: set a default nameserver for the install
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-01 14:10:31 -07:00
Kevin Fenzi
ebf2b27ab4 virt-install: switch all the unsafe ones to also set unmap for discard
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-24 16:09:18 -07:00
Kevin Fenzi
3dd582a36c nbde: mark hosts that do not have nbde correctly
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-15 12:34:54 -07:00
Kevin Fenzi
70dc97b732 drop local clevis role and replace with linux-system-roles.nbde_client
The linux-system-roles.nbde_client does the right things and so one less
thing for us to maintain. It also avoids the problem we have on some
machines now where network interface names are not as the old clevis
role expected, so unlocking didn't work on boot. Hopefully this fixes
all those issues.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-05-13 12:10:25 -07:00
Mark O Brien
0729bce300 update certs for ocp3 stg and prod and ocp4 stg
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-04-28 09:54:41 +00:00
Kevin Fenzi
f885bd1ce1 group_vars/all: fix stray eth0_ipv4 from old network setup
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-02 12:20:23 -08:00
Kevin Fenzi
5cf1eae655 group_vars/all: default to first dns server
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-03-02 12:18:21 -08:00
Kevin Fenzi
1e712cdc30 Revert "Revert "wildcard-2022.fedoraproject.org cert""
This reverts commit 4430178b29.

It's time to put this back before the cert expires and before we go into
Beta freeze. Hopefully the odd issue with armv7 qemu guests having a
time behind real time is not still happening.
2022-02-21 10:19:17 -08:00
Mark O Brien
2ebf5c4a44 ocp: update wildcard cert to 2022
Signed-off-by: Mark O Brien <markobri@redhat.com>
2022-02-17 17:38:00 +00:00
Kevin Fenzi
93cf7c27db virt-install / ppc64le: drop the features thing for now
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-12 18:05:21 -08:00
Kevin Fenzi
3cebeb87bf virt-install / ppc64le: it is --features not --feature
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-12 17:58:46 -08:00
Kevin Fenzi
31322fc693 buildvm_ppc64le: add virt feature back in
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-12 16:34:21 -08:00
Kevin Fenzi
7ad036fea5 buildvm-a32: adjust install to use new variables, drop highmemory thing
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-10 13:20:42 -08:00
Kevin Fenzi
0c7eb2d032 buildvm-ppc64le: adjust to new variables
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-02-07 13:37:27 -08:00
Kevin Fenzi
4430178b29 Revert "wildcard-2022.fedoraproject.org cert"
This reverts commit 57f0d4fdb6.

For an anoying reason, armv7 image builds come up with the time as 10
days ago, which makes this cert invalid. So, move back to the old cert
for a week or so and then switch to the new one again. ;(
2022-01-31 12:39:49 -08:00
Pete Buffon
7248eeb87c changed eth0_ip to eth0_ipv4_ip for group_vars/all virtinstall commands + cleaned up aarch64-test02.fedorainfracloud.org 2022-01-27 20:45:34 +00:00
Kevin Fenzi
57f0d4fdb6 wildcard-2022.fedoraproject.org cert
This is the renewed version of the old 2020 cert.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-27 10:37:27 -08:00
Kevin Fenzi
eb991fa9c1 base / big network cleanup
Everything should now be using linux-system-roles/network, so we drop
our hacky nmcli calls and everything that referred to them, including
exclude variables. Also, lets just let NM handle resolv.conf so it's not
wrong all the time on reboots.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-01-26 12:14:23 -08:00
Pete Buffon
938e63fa71 mass vm host_vars edit for default network connection 2022-01-25 22:17:11 +00:00
Kevin Fenzi
fe86292793 buildvm_s390x: fix new install command
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-23 10:55:59 -08:00
Kevin Fenzi
580cd252c5 Inventory group/host variables: Sort yaml
This was done using yq (
https://mikefarah.gitbook.io/yq/operators/sort-keys )

Doing things this way makes it much easier to see if a variable is set
in a file or if two hosts differ in what variables they set. Hopefully
we can keep things sorted moving forward.

Basically this means just sort a-z anything you add to any host or group
vaiable and it will be in the right place.

Additionally, this enforces 'normal' intent rules for all the variable
files which we should also try and obey. 2 spaces for first level, 3 for
next, etc. When in doubt you can run yq on it.

This should cause NO actual vairable changes, it's all just readability
fixing for humans, ansible parses it exactly the same.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 13:27:57 -08:00
Kevin Fenzi
d745d47575 buildvm_s390x: fix the virt-install instead
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-16 10:43:11 -08:00
Kevin Fenzi
5a8f655671 proxies: add intermediate certs for mirrors.centos.org
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-09-02 16:56:24 -07:00
David Kirwan
9f39d76e2c metrics-for-apps: Adding inventory/groupvars/changes for ocp prod
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-09-02 01:37:34 +00:00
Kevin Fenzi
771160176a default ocp4 var to false
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-13 20:01:41 -07:00
Mark O Brien
f637f9c132 ocp4: add network hostname vars 2021-07-22 12:32:43 +01:00
Mark O Brien
590c34064f ocp4: change net iface to ens2
Signed-off-by: Mark O Brien <markobri@redhat.com>
2021-07-22 11:58:38 +01:00
Mark O Brien
9853c8a6d6 cop4: edit net port on virt install 2021-07-22 11:42:53 +01:00
David Kirwan
a297d3ac25 metrics-for-apps: extravariable fixing vm create
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:45:22 +01:00
David Kirwan
2d8ef7b7e3 metrics-for-apps: Removed os-type parameter from virt_install for rhcos
vms

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-22 10:40:42 +01:00
David Kirwan
1dec7ab14e metrics: updated virt_install_command_pxe_rhcos parameters
Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-20 17:13:45 +01:00
David Kirwan
9f290b90f1 metrics: Added command to create a kvm vm configured to use pxeboot
metrics: Added hostvars for ocp4 control plane
metrics: Added playbook to copy files to ocp control host

Signed-off-by: David Kirwan <dkirwan@redhat.com>
2021-07-19 11:08:15 +01:00
Kevin Fenzi
d0ec1be17a Adjust also the other one nic one.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-07-15 20:49:29 -07:00