homelab/README.md

55 lines
1.9 KiB
Markdown
Raw Normal View History

2022-12-19 07:25:17 +00:00
# Homelab
This repository contains Ansible to automate Debian GNU/Linux servers, deploying
server technologies that are either useful in a personal capacity or provide
educational value on automating enterprise infrastructure.
2021-02-10 04:42:33 +00:00
2022-12-19 07:25:17 +00:00
Development is accomplished using Vagrant to allow easy reproducibility in an
isolated virtual environment that be ran on your local machine.
2021-02-10 04:42:33 +00:00
## Quick Start
2022-12-19 07:25:17 +00:00
These steps assume a basic understanding of GNU/Linux, Hypervisors, Vagrant, and Ansible.
2021-02-10 04:42:33 +00:00
### Prerequisites
2022-12-19 07:25:17 +00:00
- [Vagrant](https://developer.hashicorp.com/vagrant/docs/installation)
- [Supported hypervisor](https://developer.hashicorp.com/vagrant/docs/providers)
- Ansible
2021-02-10 04:42:33 +00:00
### Installation
1. Clone this repository
```
2022-12-19 07:25:17 +00:00
git clone https://git.krislamo.org/kris/homelab
```
OR download from the mirror on GitHub:
```
git clone https://github.com/krislamo/homelab
2021-02-10 04:42:33 +00:00
```
2022-12-19 07:25:17 +00:00
2. Find available playbooks for development
```
cd homelab
```
```
find dev -maxdepth 1 -name "*.yml" -exec basename {} .yml \;
```
2021-02-10 04:42:33 +00:00
2022-12-19 07:25:17 +00:00
3. Set the `PLAYBOOK` environmental variable to a value listed in the last step, e.g.,
2021-02-10 04:42:33 +00:00
```
export PLAYBOOK=dockerbox
```
3. Bring the Vagrant box up
```
vagrant up
```
#### Copyright and License
2022-12-19 07:25:17 +00:00
Copyright (C) 2020-2022 Kris Lamoureux
2021-02-10 04:42:33 +00:00
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.