ansible: begin inventory

This commit is contained in:
2024-07-10 15:39:43 +02:00
parent ef7a468991
commit 0e2ea5cb36
5 changed files with 53 additions and 4 deletions

View File

@@ -0,0 +1,37 @@
raspberries:
hosts:
pi1:
ansible_host: pi1.home # setup http://192.168.1.1/ Réseau/DNS
pi2:
ansible_host: pi2.home
internetPi1:
ansible_host: rg-evry.changeip.co
ansible_port: 51022
internetPi2:
ansible_host: rg-evry.changeip.co
ansible_port: 52022
vars:
ansible_user: pi
local:
hosts:
pi1:
pi2:
hard_disk:
hosts:
pi2 # 4To toshiba external hard drive (/dev/sda)
postgres:
children:
hard_disk:
gitea:
children:
hard_disk:
all:
children:
raspberry: