1
0
Fork 0
forked from infra/ansible
Commit graph

19 commits

Author SHA1 Message Date
1fa43050e4 sundries: increase mem and cpus
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2026-07-16 15:01:30 -07:00
1ec215d64e sundries / rdu3: 2g of memory is not enough anymore
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2025-06-17 15:22:21 -07:00
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
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
Nick Bebout
0eae657232 Fix sudo rules for sysadmin-noc and sysadmin-veteran 2021-03-28 20:46:01 -05:00
c0a7ba202b ipa/client: enable for sundries in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
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
a3cdf40410 sundries: space. The final fronteer
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
d6a6b9a645 sundries / sundries_stg: set deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
253d7c693f sundries and db-datagrepper02: update ansible to reflect new sizes.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:17 +02:00
735021f78d add sysadmin-releng to sundries as they need to upload LMC there 2017-06-20 17:17:08 +00:00
Nick Bebout
e51aba3aeb Add sysadmin-veteran with shell anywhere that sysadmin-noc and/or fi-apprentice had access 2016-05-17 00:18:04 +00:00
6020cedaa6 Add sudoers for sundries. 2015-07-17 21:11:33 +00:00
Ricky Elrod
f6035e66b0 add sysadmin-web to sundries and sundries-stg
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-07-16 20:28:24 +00:00
909f20d063 up sundries procs and drop app05/app08 from inventory 2014-05-22 21:31:44 +00:00
ec4b02c539 In staging, host_group is automagically staging, so use rsync_group instead here. 2014-05-21 15:47:07 +00:00
a41d855530 Add rsyncd setup for sundries so proxies can pull easyfix from it instead of apps 2014-05-19 23:17:42 +00:00
1e72a96097 Try deploying this koji reminder email thing. 2014-04-28 17:26:38 +00:00
ba3d99eb3a Add prod instances too 2014-04-04 17:25:36 +00:00