Commit Graph

9 Commits

Author SHA1 Message Date
Julian Schacher
076d53ab9c Add GitHub Actions Ansible Infra Deploy Key to authorized_keys 2024-02-07 20:46:58 +01:00
Julian Schacher
de568ceacd Add role for deploying SSH authorized_keys and add it to maint. playb.
Having this role will enable us to easily manage SSH authorized_keys.
2024-02-07 20:44:46 +01:00
Julian Schacher
013fec6f16 Add play to everything playb. for deploying Docker Compose applications
Also introduce a new group for hosts, for which this play should be run,
called Docker_Compose_Hosts.
Finally add cit-ansible-test and cit-docker-host to this group with an
empty project list initially.
2024-02-07 18:59:10 +01:00
Julian Schacher
016f821c54 Introduce everything playbook, which runs all non-initial setup roles
It runs the maintenance playbook and then all other non-initial setup
roles, which aren't covered by the maintenance playbook.
2024-01-31 16:37:47 +01:00
Julian Schacher
75acd59ee8 Add docker role for making sure Docker is installed
Add a docker role for making sure Docker is installed from the Docker
repositories.
Take the role from the ccchh-ansible repo, provide attribution in the
README and add the relevant license in a new licenses directory.
Modify the role by removing the distribution check and adjusting the
task names to be in line with other task names in this repo.
2023-11-24 13:37:40 +01:00
Julian Schacher
7ddb91550f Add maintenance playbook for running all roles to do system maintenance
Currently it just includes the system_update role, but it will be
exanded in the future, when new relevant roles get added.
2023-11-24 13:08:17 +01:00
Julian Schacher
4b84472ac2 Add role for ensuring system is updated and potentially rebooted
The role also cleans up the local repository of retrieved package files
that can no longer be downloaded.
2023-11-24 12:59:42 +01:00
Julian Schacher
a921224e56 Add playbook for the initial basic deployment of a Hetzner VM
This playbook does the following:
- Creates a cit user (which has root privileges) using the cit_user
  role.
- Sets the cit users ssh authorized_keys to the authorized_keys of the
  root user.
2023-11-24 12:59:40 +01:00
Julian Schacher
97afdac16a Add role for ensuring a cit user, which has root privileges 2023-11-24 12:59:38 +01:00