Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kunish/automate
Configure my homelab environment using ansible
https://github.com/kunish/automate
ansible raspberrypi
Last synced: 15 days ago
JSON representation
Configure my homelab environment using ansible
- Host: GitHub
- URL: https://github.com/kunish/automate
- Owner: kunish
- License: mit
- Created: 2021-02-12T15:22:05.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-16T11:03:07.000Z (about 3 years ago)
- Last Synced: 2024-11-14T16:48:12.803Z (3 months ago)
- Topics: ansible, raspberrypi
- Language: Vim script
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using ansible playbook to manage my homelab servers
## How to use
### Write a inventory file
```bash
cat > inventory/main.yml << EOF
remote:
hosts:
cloud-vm:
ansible_user: ubuntu
ansible_port: 10022
ansible_ssh_private_key_file: ~/.ssh/cloud-vm.key
homelab:
hosts:
workstation:
gateway:
EOF
```### deploy
```bash
ansible-playbook -i inventory/main.yml main.yml
```