Move hosts to yaml file

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-27 16:30:52 +02:00
parent 2b7202f01c
commit 7197ff9140
2 changed files with 41 additions and 6 deletions

41
inventory/hosts.yml Normal file
View File

@@ -0,0 +1,41 @@
# ===================================================================================================
# ? ABOUT
# @author : Noah Knegt
# @email : personal@noahknegt.com
# @repo : https://git.noahknegt.com/noah.knegt/ansible-automations
# @createdOn : 27-03-2023
# @description : This file contains the hosts for ansible.
# ===================================================================================================
---
vpses:
hosts:
vps1-contabo:
ansible_host: 161.97.139.67
ansible_port: 4422
pis:
hosts:
pi1:
ansible_host: 192.168.90.2
pi2:
ansible_host: 192.168.90.3
equinox-servers:
hosts:
apollo:
ansible_host: 23.97.157.206
ansible_port: 2004
all:
children:
home:
children:
pis:
datacenter:
children:
vpses:
equinox:
children:
equinox-servers: