Commit graph

17 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
Nick Bebout
0eae657232 Fix sudo rules for sysadmin-noc and sysadmin-veteran 2021-03-28 20:46:01 -05: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
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
Jan Kaluza
f96df6a048 ODCS: Add compose_ci source to test possible compose-ci packages gating.
The idea is that we will start minimal compose for every new
Koji build for package which appears in the boot.iso and therefore
can break its generation.

These composes will be built using ODCS on releng backend for now.

Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-12-07 08:42:03 +01:00
Jan Kaluza
f46a8bfa3f ODCS: Allow jwboyer to do test ELN composes from his pungi-fedora fork.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-21 13:27:14 +02:00
Jan Kaluza
c63b5c0519 ODCS: Do not force releng backend for 'jkaluza'. 2020-06-04 13:59:33 +02:00
Jan Kaluza
9ff808e876 Allow CCCC service to execute pungi composes. 2020-06-03 06:34:52 +02:00
Merlin Mathesius
836b63d1ec odcs: add "cccc" raw_config compose that can be run by the "eln-sig" group
Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2020-05-28 05:31:21 +00:00
Jan Kaluza
ef4b169b40 ODCS: Grant releng-odcs@service permissions to run raw_config composes. 2020-05-04 13:08:57 +02:00
Jan Kaluža
6774bf6d2d ODCS: Fix odcs inventory syntax. 2020-04-24 21:34:29 +02:00
Jan Kaluža
000c46402c ODCS: Set the same allowed_clients for both prod and staging. 2020-04-24 21:34:29 +02:00
Jan Kaluža
4ddd100f98 ODCS: Add 'eln' raw_config compose and allow eln-sig group to run it. 2020-04-24 21:34:29 +02:00
Jan Kaluža
b3427de9da ODCS: Remove releng queues from general backends. 2020-04-24 21:34:27 +02:00
Jan Kaluža
ee9b3796d0 ODCS: Configure routing of prod composes so releng compose are handled by releng backend. 2020-04-24 21:34:27 +02:00
Ralph Bean
6213b167d4 Remove unused group_vars. 2017-09-18 17:57:23 +00:00
Ralph Bean
0673125740 Try setting up a gluster share for odcs. 2017-09-18 17:48:37 +00:00