Added an example file for Ansible inventory

This commit is contained in:
Alex Tavarez
2025-09-05 18:31:32 -04:00
parent 5d2ee550c4
commit b32daad6a0

35
hosts.yml.example Normal file
View File

@@ -0,0 +1,35 @@
---
ungrouped:
hosts:
localhost:
ansible_host: "localhost"
localhost4:
ansible_host: "127.0.0.1"
localhost6:
ansible_host: "::1"
sukaato:
ansible_host: ~
sukaato4:
ansible_host: ~
sukaato6:
ansible_host: ~
localhost_hosts:
hosts:
localhost:
localhost4:
localhost6:
sukaato_hosts:
hosts:
sukaato:
sukaato4:
sukaato6:
locals:
children:
localhost_hosts:
vars:
ansible_connection: local
servers:
children:
sukaato_hosts:
vars:
ansible_port: 22