Commit graph

6 commits

Author SHA1 Message Date
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
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
Bogdan Benea
7e76c7146c fixed indentation according with yaml best practices 2021-03-31 19:45:33 +00:00
Stephen Smoogen
644461a1d4 Fix ips for new aarch64 hardware.
When allocating IP addresses, I used the reverse DNS file as the guide
for what had been allocated. This was in error because there were 3
servers already allocated in this space. This moves the ips to a new
space.
2021-02-19 12:43:13 -05:00
Stephen Smoogen
84e5b70f53 Bring up new Lenovo and Dell systems in IAD2
This starts adding in the general host_vars and changes to dhcpd.conf
needed to bring up buildhw boxes and new staging servers.
2021-02-18 16:44:51 -05:00