Commit graph

19 commits

Author SHA1 Message Date
Pete Buffon
938e63fa71 mass vm host_vars edit for default network connection 2022-01-25 22:17:11 +00: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
5177b92864 remove some duplicate ips
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-30 20:15:29 -07:00
Kevin Fenzi
168c766811 buildvm: switch buildvm's back to getting networking set on install
We don't want to use linux-systems-roles here because:
1) everytime we reinstall the mac address changes.
2) These get all the correct netowkring from the kickstart/initial
   install
We do want to use linux-systems-roles for bare metal machines.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-25 14:08:37 -07:00
Kevin Fenzi
3c12ef6aa9 Killed trailing spaces in group/host vars with fire.
Normally it's just a nitpick to not have trailing spaces on variables.
However, for some things like mac address, it really matters.
Bunches of buildhw's were failing ansibile because they were passing
"mac address " to linux-system-roles networking and ansible was going
'huh, nope, I can't find that mac address here at all'.
So, just blow all the tailing spaces away to avoid any other variables
that hit this.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-05-04 08:52:52 -07:00
Kevin Fenzi
5a7bf06620 buildvm-ppc64le: update mac addresses on hosts being reinstalled after bvmhost-p09-02 raid rebuild
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-12 08:30:31 -07:00
Kevin Fenzi
db93fb75cc buildvm-ppc64le: need eth0_ip for now for installs
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-12 08:05:26 -07:00
Bogdan Benea
6498334184 moved another batch of servers 2021-03-31 19:45:33 +00:00
Kevin Fenzi
c532b8802a inventory: buildvm-ppc64le-11 -> 20: move to bvmhost-p09-02
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-07 15:31:35 -07:00
Kevin Fenzi
0d7e14eff6 move buildvm-ppc64le-01 20 over to p9-03.
We are going to rebuild bvmhost-p09-01 and 02 soon, move guests to 03.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-25 20:31:43 -07:00
Stephen Smoogen
4571d8a6ac put all the common variables into a group file for buildvm_ppc64le 2020-06-06 09:53:20 -04:00
Stephen Smoogen
54d8110908 forgot to add in the /os/ to the repo tree. fixed. 2020-06-06 09:08:22 -04:00
Stephen Smoogen
fabb21ddd6 use base ppc64le definition starting out and then use proper repotree for ppc64le 2020-06-06 09:01:11 -04:00
Stephen Smoogen
f2f752a699 fix ppc64le kickstart to use ppc64le versus armv7. I am clearly still too tired to type 2020-06-06 08:44:17 -04:00
Stephen Smoogen
2da823af80 iad2 systems have 1 nic currently 2020-06-06 08:29:13 -04:00
Stephen Smoogen
811708db00 it would help if you put the right bvmhost in all the files 2020-06-05 19:37:20 -04:00
Stephen Smoogen
9cadcda024 remember the ppc builders need a kickstart 2020-06-05 18:32:52 -04:00
Stephen Smoogen
f4381d6eb9 put in extra a32 a64 and ppc64le builders 2020-06-05 18:19:09 -04:00
Stephen Smoogen
6bd0006ca0 add in zero length host vars 2020-06-05 18:19:08 -04:00