{"repo":"rishavnandi/ansible_homelab","free":true,"listed":false,"github":"https://github.com/rishavnandi/ansible_homelab","clone":"git clone https://github.com/rishavnandi/ansible_homelab.git","description":"Ansible playbooks to quickly setup a homelab. The playbook will update the system, install Docker, and then deploy the Docker containers.","language":"HCL","stars":397,"topics":["ansible","ansible-playbook","automation","centos","debian","docker","fedora","homelab","rhel","terraform"],"license":"WTFPL","category":"deployment-docker-iac","readme_excerpt":"Ansible homelab Ansible playbooks to quickly setup a homelab. These playbooks are designed to be run on a fresh install of Ubuntu/Debian or RedHat based distros (Fedora, CentOS). The playbook will update the system, install Docker, and then deploy the Docker containers. Bootstrap script I have included a bootstrap script that clones the repo, asks the user for the username and IP address of the server, and then runs the playbook. You can run the script like this: Using Traefik as a reverse proxy I have finally switched from using nginx proxy manager to using Traefik as a reverse proxy. I have included a playbook to install Traefik and configure it to work with the apps. For traefik to pull certificates I use cloudflare, so you will need to create a cloudflare account and add your domain to it. You will also need to create an API token in cloudflare and add it to the group vars/vars.yml file. For the traefik user basic auth, I use a password hash, you can generate a password hash using the htpasswd command, for example: It will prompt you for a password, enter the password and it will output the password hash, copy the output and remove any double $ characters as they are only needed when using it directly in a docker compose file. Then add the password hash to the group vars/vars.yml file. Using Authelia as a second factor authentication I have also added support for Authelia, which is a second factor authentication service. There are many variables that need to be set for Au","default_branch":null,"files":null,"tree":[],"storefront":"/r/rishavnandi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rishavnandi/ansible_homelab/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}