Commit Graph

20 Commits

Author SHA1 Message Date
James Antill
80aa4bbbc2 Initial version of iptables to nftables conversion. 2025-01-16 11:28:24 -05:00
Kevin Fenzi
7aa571d30a ipa: 50G disks by default
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-03-29 10:35:01 -07:00
Michal Konecny
4112c16c69 [server/ipa] Update number of CPU to 8
It seems that 4 CPU are not enough to handle all the requests. This should solve that.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-01-23 22:30:57 +01: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
d377ff4898 backups: ipa: back up dirserv logs (including audit) too.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-04-30 10:19:03 -07:00
Stephen Smoogen
16ee589eee up the number of cpus for the systems in the group. add 2GB more ram also 2021-03-24 18:36:48 -04:00
Kevin Fenzi
56cbb0beb8 ipa: make sure we open ports 88 and 464 UDP
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2021-03-24 06:32:49 -07:00
Nils Philippsen
006b2246b1 ipa/client: enable for ipa in prod
Signed-off-by: Nils Philippsen <nils@redhat.com>
2021-03-24 13:44:33 +01:00
Mark O'Brien
e32c6c21b9 create daily data only backups of ipa 2021-03-23 18:06:38 +00: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
Patrick Uiterwijk
a9e9411c56 Move IPA hostname checks to ipa_initial variable
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2020-05-20 16:03:18 +00:00
Patrick Uiterwijk
75df490318 DM password is still needed for install
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-28 11:14:30 +00:00
Patrick Uiterwijk
b0c0e8c4bb DM password not needed
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-11-28 11:13:22 +00:00
Patrick Uiterwijk
89db369155 DM password is only needed within IPA servers
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-27 09:42:42 +00:00
Patrick Uiterwijk
3a2379c678 Make IPA config available
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-27 08:54:42 +00:00
doteast
616eb572c1 replace tab 2016-10-22 01:15:35 +00:00
Patrick Uiterwijk
7048b8dd92 DNS port needs to be open for replication setup
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-13 12:42:35 +00:00
Patrick Uiterwijk
4fc3e98d55 Seems IPA wants these ports open for replication
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-13 12:36:29 +00:00
Patrick Uiterwijk
71d48d76bf Seems recursion does work in ansible
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-13 11:29:41 +00:00
Patrick Uiterwijk
f30d3ab980 Add inventory info for ipa prod
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2016-10-13 11:17:03 +00:00