27 lines
624 B
Plaintext
27 lines
624 B
Plaintext
|
|
# Ansible Inventory Example
|
||
|
|
# Copy to inventory and customize with your hosts
|
||
|
|
|
||
|
|
[proxmox_site_1]
|
||
|
|
pve1 ansible_host=10.1.0.10 site=us-east-1
|
||
|
|
pve2 ansible_host=10.1.0.11 site=us-east-1
|
||
|
|
pve3 ansible_host=10.1.0.12 site=us-east-1
|
||
|
|
|
||
|
|
[proxmox_site_2]
|
||
|
|
pve4 ansible_host=10.2.0.10 site=eu-west-1
|
||
|
|
pve5 ansible_host=10.2.0.11 site=eu-west-1
|
||
|
|
pve6 ansible_host=10.2.0.12 site=eu-west-1
|
||
|
|
|
||
|
|
[proxmox_site_3]
|
||
|
|
pve7 ansible_host=10.3.0.10 site=apac-1
|
||
|
|
pve8 ansible_host=10.3.0.11 site=apac-1
|
||
|
|
|
||
|
|
[proxmox:children]
|
||
|
|
proxmox_site_1
|
||
|
|
proxmox_site_2
|
||
|
|
proxmox_site_3
|
||
|
|
|
||
|
|
[proxmox:vars]
|
||
|
|
ansible_user=root
|
||
|
|
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||
|
|
|