Scripts and Ansible Playbooks for my Homelab
Go to file
Benjamin Hays 55dcb55854
All checks were successful
Ansible Deploy / deploy (Ansible/cloudflare-dns.yml) (push) Successful in 1m6s
Ansible Deploy / deploy (Ansible/debian.yml) (push) Successful in 1m18s
Ansible Deploy / deploy (Ansible/heartbeat.yml) (push) Successful in 59s
Ansible Deploy / deploy (Ansible/openssh.yml) (push) Successful in 1m17s
Ansible Lint / build (push) Successful in 1m10s
Revert "revert to pip version and try new caching method"
This reverts commit 5b0d0aa13e.
2024-10-12 21:32:25 -04:00
.gitea/workflows Revert "revert to pip version and try new caching method" 2024-10-12 21:32:25 -04:00
Ansible fix runner error with openssh playbook 2024-10-12 19:30:39 -04:00
Bash Add Dynamic DNS and Heartbeat Playbook 2024-10-11 19:06:13 -04:00
Configs fix runner error with openssh playbook 2024-10-12 19:30:39 -04:00
PowerShell Add SSH/PVE Configuration Playbook 2023-11-25 15:39:11 -05:00
.ansible-lint Force Ansible-lint to ignore certain rules 2024-08-13 19:33:28 -04:00
.gitignore Add XML Output to Scan-Lan 2024-02-19 12:09:59 -05:00
.gitmodules Add Dynamic DNS and Heartbeat Playbook 2024-10-11 19:06:13 -04:00
ansible.cfg seventh attempt 2024-10-12 19:21:54 -04:00
README.md Fix Minor Spelling Mistakes 2024-02-04 01:32:36 +00:00

Homelab Automation

This is a repo containing some of the PowerShell/Bash scripts and Ansible playbooks I've written and utilized within my personal network/homelab. Most of the scripts/playbooks should be self-explanatory by the name alone, but there's (hopefully) descriptions and comments in each file to explain the purpose and actions taken by each script.

Using Ansible Playbooks

For any given Ansible playbook, say for example openssh.yml, the generic command-line options for running it would be:

ansible-playbook -i inventory.ini openssh.yml --ask-become-pass

Using Shell Scripts

Most/all of the shell scripts will display a list of arguments and options when called incorrectly or without arguments. As an example, see ssh-compliance.sh:

Usage: ssh-compliance.sh (--install-deps) (--docker) <file-with-hosts>