Skip to content

Configure my homelab environment using ansible

License

Notifications You must be signed in to change notification settings

kunish/automate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using ansible playbook to manage my homelab servers

How to use

Write a inventory file

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

ansible-playbook -i inventory/main.yml main.yml

About

Configure my homelab environment using ansible

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published