Commit Graph

19 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
Nils Philippsen
bd01967b92 ipa/client: enable for packages in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Nils Philippsen
dbbf94a411 ipa/client: configure global shell access and sudo
Almost global anyway, i.e. inside the VPN.

The ipa/client-based shell access and sudo rules are only effective for
staging right now, the respective playbook bits are masked out for prod.

- Assign Ansible host groups to IPA host groups, the latter don't care
  about 'stg' in the name and use dashes rather than underscores.
- Distill shell access groups from fas_client_groups in group and host
  vars.
- Let all `sysadmin-*` groups in the previous list run anything via sudo
  in the host group (except bastion & batcave).
- Remove `fas_client_groups` from staging host and group vars.
- Remove sudoers from staging host and group vars if only `sysadmin-*`
  groups have shell access.
- Set up `ipa_client_shell_groups` on bastion to be a super set of the
  same on batcave.

Newly created IPA host groups:
- autosign
- badges
- basset
- bastion
- batcave
- blockerbugs
- bodhi
- bugzilla2fedmsg
- busgateway
- datagrepper
- dbserver
- dns
- fedimg
- github2fedmsg
- ipa
- kernel-qa
- kerneltest
- kojibuilder
- kojihub
- kojipkgs
- logging
- mailman
- memcached
- mirrormanager
- nagios
- notifs
- oci-registry
- odcs
- openqa
- openqa-workers
- osbs
- packages
- pdc-web
- pkgs
- proxies
- rabbitmq
- releng-compose
- resultsdb
- secondary
- sign-bridge
- sundries
- value
- wiki

Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-02-01 22:23:41 +00: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
Kevin Fenzi
60bd571609 Add sysadmin-packages to packages 2018-02-01 23:07:58 +00:00
Patrick Uiterwijk
cb8c7a63fc Not enough mem for standard 4*mem_size
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 18:40:25 +00:00
Patrick Uiterwijk
d40c83881f Give packages RW access to the fedora_app_packages volume
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 13:25:54 +00:00
Patrick Uiterwijk
5b2d454b40 Packages is no longer rhel6
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-12-22 13:08:06 +00:00
Kevin Fenzi
5bac2bb17e Fix packages vars for new version in stg 2017-10-13 21:11:54 +00:00
Nick Bebout
a6ad9e2c05 Add sysadmin-veteran everywhere sysadmin-noc is 2017-06-12 03:09:13 +00:00
Kevin Fenzi
bd443105e0 Add a rhel6 version of virt-install 2016-02-02 17:28:44 +00:00
Ralph Bean
47dfa809d5 Explicitly list all certs that can send the logger.log fedmsg message. 2015-12-03 19:30:08 +00:00
Kevin Fenzi
92549b5c05 Enter log01, bravest of the brave 2014-07-18 20:42:00 +00:00
Kevin Fenzi
5c0005b7c4 Add rsyncd to a bunch of app servers so we can archive their logs. 2014-03-17 16:31:27 +00:00
Ralph Bean
edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00
Ralph Bean
0391c56cfd Beef up the new packages nodes to match the existing ones. 2014-03-13 13:32:04 +00:00
Ralph Bean
4cafa55c97 Open a port for glusterd. 2014-03-12 20:53:16 +00:00
Pierre-Yves Chibon
100fef7a1f Update the packages group_vars to be more classic 2014-03-11 17:16:46 +01:00
Seth Vidal
d78eec9aae add host_vars and group_vars for various groups to set freezes: false 2013-05-13 21:20:26 +00:00