HomeCloudPlaybooks
This repository contains Ansible playbooks for setting up and configuring a home cloud environment.
Requirements
- Ansible 2.9 or higher
- Python 3.6 or higher
sshpassinstalled on the control node
Usage
-
Clone the repository:
git clone https://gitea.tobjend.de/tobi/HomeCloudPlaybooks.git cd HomeCloudPlaybooks -
Install Ansible collections:
ansible-galaxy collection install -r playbooks/requirements.yml -
Configure the inventory:
- Copy the
inventory/hosts.yml.exampletoinventory/hosts.yml. - Update the
inventory/hosts.ymlfile with your host information.
- Copy the
-
Configure secrets:
- This project uses Ansible Vault to manage secrets.
- Create a
vault_password.txtfile with your vault password. - Run the playbooks using the
--vault-password-fileoption:ansible-playbook playbooks/main.yml --vault-password-file vault_password.txt
Inventory Structure
The inventory is located in the inventory directory. The main inventory file is hosts.yml. The inventory is organized into groups of hosts.
Roles
The following roles are available in the playbooks/roles directory:
gitea: Installs and configures Gitea, a self-hosted Git service.- ... (more roles to be documented here)
Languages
Jinja
100%