Commit Graph

41 Commits

Author SHA1 Message Date
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
Kevin Fenzi
859d80f290 wiki: use default one nic install here
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2022-06-16 14:04:22 -07: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
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
717b89b8ad ipa/client: enable for wiki 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
1300e7558b wiki: add deployment_type
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:19 +02:00
Kevin Fenzi
db9e25330b inventory: try removing all the calls to ansible_python_interpreter and rely on the auto detection.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2020-04-24 21:34:15 +02:00
Kevin Fenzi
0652750f97 wiki: move to f30 and python3 ansible
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2019-06-27 20:47:35 +00:00
Patrick Uiterwijk
35063dd962 Set max_mem for wiki
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 23:49:51 +00:00
Patrick Uiterwijk
5f2a79a6c3 Install correct mediawiki packages
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 21:39:05 +00:00
Patrick Uiterwijk
9426e17287 Wiki is becoming Fedora
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-11-22 21:21:19 +00:00
Kevin Fenzi
83dde2f6f9 move wiki to v3 also 2017-09-29 23:52:54 +00:00
Stephen Smoogen
8f5cfba0f2 6.x boxes need minorversion= for nfs 2017-08-25 20:12:51 +00:00
Stephen Smoogen
efd7efccd5 move all nfsv4 mounts to 4.0 2017-08-25 17:04:22 +00:00
Stephen Smoogen
4b66a02723 add explicite sec=sys to nfsvers=4 mounts so writes work consistently. 2017-08-14 21:31:06 +00:00
Kevin Fenzi
0691babe41 add logic for fedora mediawiki, reinstall staging as f24 2016-09-12 22:38:55 +00:00
Athos Ribeiro
8e61f6f9d7 Add quotes to csi variables with IRC channels info
Some of the csi_primary_contact variables point to IRC channels. In
order to avoid commenting these channels out, we set these variables
with quotes.
2016-07-11 18:01:24 +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
Kevin Fenzi
9596023246 Move most netapp nfs mounts to nfsv4 2016-05-11 16:12:39 +00:00
Kevin Fenzi
bd443105e0 Add a rhel6 version of virt-install 2016-02-02 17:28:44 +00:00
Kevin Fenzi
adfabe06ad Revert "Remove glittergallery-dev. It's a f21 instance and no longer needed."
This reverts commit 2b381f35a5.
2015-12-18 23:32:51 +00:00
Kevin Fenzi
2b381f35a5 Remove glittergallery-dev. It's a f21 instance and no longer needed. 2015-12-11 17:07:50 +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
124810e589 Or this? 2015-11-28 02:12:34 +00:00
Kevin Fenzi
76c87cfc82 Hum, perhaps this is what it's mad about 2015-11-28 02:11:43 +00:00
Kevin Fenzi
3e0afc26d0 Fix syntax 2015-11-28 02:07:25 +00:00
Kevin Fenzi
3d1b1a9956 CSI wiki variables from David Shier 2015-11-27 19:04:48 +00:00
Ralph Bean
b728416f49 Declare who can send what wiki fedmsg stuff. 2015-06-12 20:27:57 +00:00
Kevin Fenzi
973725abb5 Switch more stuff back to v3 and make mounted default 2015-06-10 01:18:17 +00:00
Stephen Smoogen
d3a7ea1fa7 The hobbits are trickzie and stuck variables in group not host 2014-07-08 15:20:29 +00:00
Kevin Fenzi
22b56a5341 Make wiki instances 4gb mem in production. 2014-05-01 14:55:01 +00:00
Kevin Fenzi
0982cd46a9 Make nfs mount a variable and set it to use rw on wiki instances. 2014-04-24 19:21:59 +00:00
Kevin Fenzi
11c9418ffe Add fedmsg stuff to wiki instances 2014-04-22 15:46:11 +00:00
Kevin Fenzi
2b7871a813 It's both. 2014-04-21 19:52:08 +00:00
Kevin Fenzi
23d940f2d5 it's wikipath 2014-04-21 19:47:42 +00:00
Kevin Fenzi
ca2609625a Add wpath of w 2014-04-21 19:45:30 +00:00
Kevin Fenzi
c2b06a44fc mediawiki role for wiki servers. Thanks adimania. ticket 4257 2014-04-21 18:10:28 +00:00
Kevin Fenzi
ec2c79b4fd Add new wiki instances. 2014-04-07 19:50:57 +00:00