Commit graph

15 commits

Author SHA1 Message Date
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
Nils Philippsen
202715dbc8 ipa/client: enable for odcs in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Jan Kaluza
7a821d314f ODCS: Move releng composes from odcs-backend back to odcs-backend-releng. 2020-07-31 08:05:39 +02:00
Kevin Fenzi
ec2ab980a5 odcs_backend: we are only doing one nic installs in iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-07-15 10:51:51 -07:00
Jan Kaluza
f80b7b5ddd ODCS: Handle 'pungi_composes' on current backend. 2020-06-14 06:56:04 +02:00
Stephen Smoogen
f65a48aa61 allow log01 to get logs from proxies and other hosts. fix both iptables and rsyncd 2020-06-12 11:01:08 -04:00
Jan Kaluza
538d6ab50c ODCS: allow odcs-backend01 to run releng composes. 2020-06-11 15:57:51 +02:00
Jan Kaluža
eb1e309954 ODCS: Apply changes done in staging inventory to prod inventory. 2020-04-24 21:34:27 +02:00
Clement Verna
aa569ea75b ODCS: replace the process check by a service check.
Signed-off-by: Clement Verna <cverna@tutanota.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
db9e25330b inventory: try removing all the calls to ansible_python_interpreter and rely on the auto detection.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Jan Kaluža
416a2c273e Apply ODCS staging inventory changes also to prod. 2020-04-24 21:34:14 +02:00
Mikolaj Izdebski
ead1b53baa Freeze odcs prod 2020-04-24 21:34:13 +02:00
Mikolaj Izdebski
f4ebcc677a ODCS: Use dedicated sysadmin-odcs group 2020-04-24 21:34:13 +02:00
Kevin Fenzi
4b31ac5152 ansible: Change all our group names from foo-bar to foo_bar or foo-bar-baz to foo_bar_baz
In ansible 2.8 the - character isn't supposed to be valid in group names.
While we could override this, might has well just bite the bullet and change it.
So, just switch all group names to use _ instead of -

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-05-20 17:38:09 +00:00
Renamed from inventory/group_vars/odcs-backend (Browse further)