The aim is to use my old laptop as a homelab with a Debian system. All automations and configurations used are declared in this repository and are managed by Ansible playbook.
- Install the dependencies
- ansible
- ansible galaxy dependencies
ansible-galaxy install -r requirements.yml
- Configure a vault password (a filepass is better)
- Configure an inventory
- Configure a playbook
- Inventory (if needed)
- Replace variables
- Encrypt the needed ones
- Run the playbook
nickjj.docker
: Setup and configure Docker + docker-compose.weareinteractive.ufw
: Setup the network firewall and configure it.shell
: Setup a shell environment with fish + tmux.base
: Install basics needed packages for the other roles.profile
: Setup some default configuration for new users.security
: Setup system security tools/services like ssh, knockd, etc.services
: Create the Docker resources (containers, volumes, network, etc..).
ssh_identity_key_path
: SSH public key used to auth.ssh_port
: Change the default SSH port.
domain
: The server domain, must be formatted as "domain.tld".
authentik_pg_db
: Authentik PosgreSQL database.authentik_pg_user
: Authentik PosgreSQL username.authentik_pg_password
: Authentik PosgreSQL password.authentik_secret_key
: Authentik secret key.
duckdns_token
: DuckDNS token.
letsencrypt_acme_email
: Let"s Encrypt email address.
base_dir
: Base directory.docker_dir
: Docker directory.
nextcloud_db_name:
: Nextcloud database name.nextcloud_db_username:
: Nextcloud database username.nextcloud_db_password:
: Nextcloud database password.nextcloud_db_root_password:
: Nextcloud database root password.
owncloud_mysql_database
: owncloud mysql database.owncloud_mysql_user
: owncloud mysql user.owncloud_mysql_password
: owncloud mysql password.owncloud_mysql_root_password
: owncloud mysql root password.owncloud_admin_username
: owncloud admin username.owncloud_admin_password
: owncloud admin password.
wg_password
: Wireguard web admin panel password.wg_host
: Wireguard public IP address.
librespeed_password
: LibreSpeed password.
mailer_smtp_host
: Mailer SMTP host.mailer_smtp_from
: Mailer SMTP email address.mailer_smtp_port
: Mailer SMTP port.mailer_smtp_security
: Mailer SMTP, force_tls or start_tls.mailer_smtp_username
: Mailer SMTP username.mailer_smtp_password
: Mailer SMTP password.
vaultwarden_admin_token
: Vaultwarden admin token.