Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/steadywool/homelab-playbook

Configure multiple services with Ansible
https://github.com/steadywool/homelab-playbook

ansible debian docker homelab proxmox self-hosted wireguard

Last synced: about 2 months ago
JSON representation

Configure multiple services with Ansible

Awesome Lists containing this project

README

        

# 🐋 Homelab Playbook

Create containers with Ansible.

## 🚀 Installation

> [!IMPORTANT]
> Important variables are present in `group_vars` and `host_vars`. You need to edit them to customize your installation.
> You must also edit the `inventory` file, playbooks and other files using hosts.

Firstly, install Ansible:
```
# apt install ansible
```

You can then clone this repository and enter it:
```
$ git clone https://github.com/steadywool/homelab-playbook.git
$ cd homelab-playbook
```

> [!IMPORTANT]
> If you need a "sudo" password, use the `-K` (upper-case) argument.
> If you don't use SSH keys, add the `-k` (lower-case) argument.
> If you use an Ansible Vault, add the `-J` argument.

All playbooks are in the `playbooks` directory. Choose one and execute it:
```
$ ansible-playbook playbooks/PLAYBOOK_FILE.yml
```

## ✨ Configuration

You can perform partially run of playbook using tags.

You can list them with this command:
```
$ ansible-playbook playbooks/PLAYBOOK_FILE.yml --list-tags
```

Then use them with the `-t TAG` parameter.

You can skip some tags using the `--skip-tags TAG` parameter.

You can also run playbooks on hosts of your choice with the `--limit HOST` argument.