Adding multiples ansible roles, playbooks and inventory
This commit is contained in:
36
inventory/inventory.yaml
Normal file
36
inventory/inventory.yaml
Normal file
@@ -0,0 +1,36 @@
|
||||
[all]
|
||||
|
||||
[all:vars]
|
||||
ansible_ssh_common_args='-o StrictHostKeyChecking=no'
|
||||
ansible_user=root
|
||||
ansible_python_interpreter=/usr/bin/python3
|
||||
|
||||
[pve]
|
||||
pve1 ansible_host=192.168.1.251
|
||||
pve2 ansible_host=192.168.1.253
|
||||
pve3 ansible_host=192.168.1.252
|
||||
|
||||
[pve-tools]
|
||||
pdm ansible_host=192.168.1.189
|
||||
pbs ansible_host=192.168.1.91
|
||||
|
||||
[dns-server]
|
||||
pihole ansible_host=192.168.1.9
|
||||
ns1 ansible_host=192.168.1.8
|
||||
ns2 ansible_host=192.168.1.7
|
||||
|
||||
[dhcp-server]
|
||||
dhcp ansible_host=192.168.1.5
|
||||
|
||||
[web-service]
|
||||
observatoire ansible_host=192.168.1.61
|
||||
nginx ansible_host=192.168.1.201
|
||||
ncloud ansible_host=192.168.1.239
|
||||
|
||||
[vpn]
|
||||
vypyhaine ansible_host=192.168.1.97
|
||||
|
||||
[kubernetes]
|
||||
k3s-master ansible_host=192.168.1.10
|
||||
k3s-worker-1 ansible_host=192.168.1.11
|
||||
k3s-worker-2 ansible_host=192.168.1.12
|
||||
Reference in New Issue
Block a user