Commit Graph

33 Commits

Author SHA1 Message Date
Nils Philippsen
6c85fda0c9 Mass remove/replace iad2 -> rdu3, 10.3. -> 10.16.
Signed-off-by: Nils Philippsen <nils@redhat.com>
2025-07-03 20:05:02 +02:00
Michal Konecny
6428f8f772 Sunset github2fedmsg and fedmsg
This commit is removing all the fedmsg related stuff from ansible
repository.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2025-02-13 10:08:51 +00:00
iamyaash
b3d6a90b9a motd generic template added
migrated notes from infra/hosts

motd changes; excluding CSI infos

removed csi_* vars from group_vars; converted csi_purpose & csi_relationship into notes

fixed merge conflicts

minor changes; var

updating YAMLs & playbooks

udpated YAMLs & playbooks again

updated correctly; buildhw.yml

fixing merge conflicts

dest added in motd.yml
2025-01-28 01:10:14 +00:00
James Antill
80aa4bbbc2 Initial version of iptables to nftables conversion. 2025-01-16 11:28:24 -05: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
Kevin Fenzi
ee1198e0cf value: port 5050 direct needs open for zodbot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-08-20 14:03:25 -07: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
Nick Bebout
0eae657232 Fix sudo rules for sysadmin-noc and sysadmin-veteran 2021-03-28 20:46:01 -05:00
Nils Philippsen
fa72446395 ipa/client: enable for value 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
Kevin Fenzi
25a1b3e9fe value: allow correct batcave01 ip to send messages to value01
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-10-02 09:07:18 -07: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
52010621fb iad2: allow vpn on batcave01.iad2 and also on value01 allow connections from it for zodbot
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-06-04 13:16:18 -07:00
Kevin Fenzi
2b9428a0cf value: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Stephen Smoogen
dfd088ab5e put in many changes for new nagios server 2017-04-06 23:50:44 +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
Ralph Bean
cd8f21ecb2 Fix some more fedmsg topic declarations. 2015-12-05 13:59:10 +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
8b24cc1c14 We need noc01's vpn ip here to send zodbot messages to irc. 2015-11-25 03:40:09 +00:00
Chaoyi Zha
c520c6dd48 Change value* csi purpose to be more descriptive 2015-11-25 00:23:47 +00:00
Ralph Bean
f85602b776 Wrong addr, there. 2015-11-22 02:38:55 +00:00
Ralph Bean
c10759cc35 Also let batcave01 in. 2015-11-22 02:35:34 +00:00
Ralph Bean
fe9d322805 Restrict 5050 to noc01 and noc02. 2015-11-22 02:30:55 +00:00
Ralph Bean
5bd2413fa3 Update CSI info for the value nodes. 2015-11-06 17:52:46 +00:00
Chaoyi Zha
2a93e49841 Add csi_* vars for value servers 2015-10-12 02:01:24 +00:00
Chaoyi Zha
2234ac418f Fix typo 2015-06-14 18:32:49 +00:00
Ralph Bean
467a138520 Add sysadmin-mote to the fas client groups for value0*. 2015-06-12 19:57:23 +00:00
Ralph Bean
928ff5c54c Declare who can send what irc fedmsg stuff. 2015-06-12 19:31:37 +00:00
Kevin Fenzi
ca438e602e Add it here too 2015-05-10 16:15:54 +00:00
Kevin Fenzi
92549b5c05 Enter log01, bravest of the brave 2014-07-18 20:42:00 +00:00
Kevin Fenzi
e555b5d86e Make prod value have more memory 2014-06-10 19:01:12 +00:00
Kevin Fenzi
e2d50e402c Add port 5050 to be allowed for supybot notices. 2014-06-10 18:35:57 +00:00
Kevin Fenzi
89d8bfb644 Add value01 prod node 2014-06-09 21:58:12 +00:00