Commit graph

12 commits

Author SHA1 Message Date
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
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
Jakub Kadlcik
9a8acc79ae nagios: enable disk monitoring for copr instances
I think that / monitoring should work by default just by
setting `nrpe: true` because of

    define service {
      hostgroup_name	all, !mincheckgrp
      service_description   Disk_Space_/
      check_command		check_by_nrpe!check_disk_/
      use                   disktemplate
    }
2021-08-09 11:45:53 +00:00
Miroslav Suchý
ebaded131e copr: remove thrnciar 2020-10-14 06:17:01 +02:00
Miroslav Suchý
6c35df6425 copr: remove dturecek 2020-10-14 06:11:04 +02: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
Miroslav Suchý
18519c9a09 copr: enable swap on be, fe, dist-git 2020-04-24 21:34:25 +02:00
Kevin Fenzi
d61d291c19 nagios: no ping for aws instances, use ssh for alive check
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:25 +02:00
Kevin Fenzi
16aef6569a Revert "Revert "nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh""
This reverts commit e3503bd863962f5e32e158b5de7ec4634f01e64c.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
85df9a0007 Revert "nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh"
This reverts commit 44d7acf9151675f1d20e362e85d556a9a05497cd.
2020-04-24 21:34:24 +02:00
Kevin Fenzi
9d66ac3fe3 nagios: enable ping on aws instances. This is not really ping it is checking aliveness with ssh
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:24 +02:00
Miroslav Suchý
7059ef2cf2 copr: rename *-aws.fedorainfracloud.org to *.aws.fedoraproject.org 2020-04-24 21:34:24 +02:00
Renamed from inventory/host_vars/copr-dist-git-aws.fedorainfracloud.org (Browse further)