Commit graph

15 commits

Author SHA1 Message Date
Adam Williamson
6aa77e9423 openqa: try and fix on-disk encryption stuff
Some of the openqa workers are encrypted and some aren't (this is a bit of a
mess that's partly a result of all the redeployments we did around
https://bugzilla.redhat.com/show_bug.cgi?id=2009585 ). We should only run
the nbde_client role on workers which are encrypted. Hopefully this gets that
right.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-25 16:10:11 -08:00
Adam Williamson
629f56f464 openqa-a64-worker01: try using ifnames interface names
I cannot get NM to stop bringing eth0 up, so let's try using
ifnames names for the interfaces instead.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-06-02 11:58:26 -07:00
Kevin Fenzi
7cb3fddb79 host vars: drop auto6: no from connection profiles
Turns out the current version of linux-system-roles network doesn't like
setting ipv6 no and setting search domains since NetworkManager wants to
set them for both ipv4 and ipv6. There's some upstream fix, but not in
our current version.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-11-17 19:33:50 -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
Adam Williamson
5b5cfbf81f openqa-a64-worker01: drop auto_gateway from network config
The plays complain it's an invalid key, even though it's
documented at
https://github.com/linux-system-roles/network/blob/main/README.md#ip

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 14:38:22 -07:00
Adam Williamson
07740ba105 Fix a couple of syntax errors from that last push
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 14:32:08 -07:00
Adam Williamson
29633575a8 Try and convert openqa-a64-worker01 to system-roles networking
This is a trial run to see if it's viable for these hosts. I
probably got something wrong. Let's see what explodes.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-09-29 14:28:48 -07:00
Kevin Fenzi
1df0773d19 Drop fas_client_groups from everything since we are not using fas anymore.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-05 10:22:31 -07:00
Adam Williamson
b60dce6bdc openqa: drop host-level openqa hostname settings
These should be coming from the groups, now we don't have IAD
vs. PHX complications.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-30 11:45:16 -07:00
Adam Williamson
5695eef9a0 Fix a few more openqa-stg01 -> openqa-lab01
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:59:27 -07:00
Adam Williamson
366b165f13 openqa_lab: fix up some worker host vars a bit
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:45:13 -07:00
Adam Williamson
a2d4047f1f openqa lab workers: add stg tap workers, bump worker numbers
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-10-05 13:32:05 -07:00
Adam Williamson
7a82a5a7d5 Rename ansible_ifcfg_{black,white}list to {block,allow}list
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-11 15:22:09 -07:00
Adam Williamson
e8bb6f6815 Update some IAD openQA worker vars
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-06-09 10:25:58 -07:00
Kevin Fenzi
732799c762 iad2: add openqa-a64-worker01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-05-30 13:55:02 -07:00