aboutsummaryrefslogtreecommitdiffstats
path: root/ansible (follow)
Commit message (Collapse)AuthorAgeLines
...
* Skip tasks requiring all hosts when running with limitGravatar Johannes Christ2024-05-04-0/+2
|
* Configure default security limitsGravatar Johannes Christ2024-05-04-0/+15
| | | | | | | | | The new limits allow each user to run a maximum of 100 processes by default, allowing to manually raise this number to 200. When a custom "pydis" group or similar is introduced, I plan to expand this to also specify other limits to prevent user error from causing problems on the system.
* set backend to systemdGravatar shtlrs2024-05-04-0/+1
|
* Set up Prometheus alerting on NetcupGravatar Johannes Christ2024-05-04-2/+18
|
* Set up database group for database hostsGravatar Johannes Christ2024-05-03-3/+9
|
* Remove old groups from Vagrant inventoryGravatar Johannes Christ2024-05-03-30/+0
| | | | | These groups are no longer present in our proper inventory as we no longer plan on selfhosting Kubernetes on the netcup nodes.
* Harden SSH security and prevent some misconfigurationsGravatar Johannes Christ2024-05-01-8/+45
| | | | | | | | | | | Disable agent forwarding and X11 forwarding in the default configuration. Users can still forward this if they really want to by installing a custom forwarder and utilizing their shell access to spawn it, but with this, we're making it impossible for people to accidentally forward their agent or their X socket to the remote server. Additionally, change the SSH configuration such that only the Python Discord users are allowed to log in.
* Depend on ansible-core instead of AnsibleGravatar Johannes Christ2024-05-01-4/+20
| | | | Allow for faster local installation by only installing what we need.
* update the readme file to be more user friendlyGravatar shtlrs2024-05-01-14/+51
|
* Install dependencies using poetryGravatar shtlrs2024-05-01-8/+14
|
* bump the debian version usedGravatar shtlrs2024-05-01-4/+3
| | | | This also explicitly specifies the sync type to rsync
* Whitelist possible LKE addresses to PostgreSQL on lovelaceGravatar Johannes Christ2024-04-29-8/+26
| | | | | | | | This allows us to connect to PostgreSQL on lovelace from any possible LKE node location, whilst not opening up our PostgreSQL instances to the world. This has already been rolled out.
* Add LKE addresses to group variablesGravatar Johannes Christ2024-04-29-0/+9
|
* Update nftables roleGravatar Johannes Christ2024-04-29-0/+0
| | | | | The new commit includes automatic validation of the `nft` configuration to ensure that any deployed config is valid.
* Remove UFW and make ansible-lint happyGravatar Johannes Christ2024-04-29-33/+2
|
* Use nftables for firewallingGravatar Johannes Christ2024-04-29-39/+83
| | | | | | | | | nftables is the modern replacement for iptables, which ufw uses under the hood. It allows us to specify firewall rules in a simple text file (with as much or as little abstraction as we want) and is quick to update and read. The text-file format allows more liberty with commenting compared to UFW. The existing `ufw` role has been converted to simply remove UFW. This has already been deployed on lovelace.
* Connect netcup Prometheus to Kubernetes AlertmanagerGravatar Johannes Christ2024-04-28-1/+3
| | | | Closes #240.
* Document how to use Ansible on Windows (#247)Gravatar jchristgit2024-04-28-4/+9
|
* Use same indent for all fail2ban optionsGravatar Johannes Christ2024-04-27-1/+1
|
* Add bellas userGravatar Chris Lovering2024-04-24-53/+99
|
* Use Ansible Vault for storing usersGravatar Johannes Christ2024-04-15-1/+3
| | | | Closes #211.
* Update vars to have the role name as a prefixGravatar Chris Lovering2024-04-15-16/+16
|
* Configure Ansible for user authentication (#213)Gravatar jchristgit2024-04-14-2/+1
|
* Add a users roleGravatar Johannes Christ2024-04-13-0/+31
| | | | | | | | The new `pydis-users` role allows us to manage user accounts and move away from the root user setup script, eventually locking down SSH access to the root user. Joe, Chris and me have been added as users.
* Copy root bashrc from skelGravatar Johannes Christ2024-04-12-0/+1
|
* Configure SSH daemon options in unit dropinGravatar Johannes Christ2024-04-12-9/+20
| | | | | | Disable password authentication and root logins and use a configuration file that is independent of the `sshd_config` that `apt` itself will modify on upgrades.
* Install unattended-upgrades on our nodesGravatar Johannes Christ2024-04-12-0/+8
|
* Move requirements to poetryGravatar Chris Lovering2023-08-13-4/+0
|
* Add a basic README for the ansible folderGravatar Chris Lovering2023-08-13-0/+17
|
* Move all ansible files to their own folderGravatar Chris Lovering2023-08-13-0/+1101