Add YAML schema references and reorganize inventory groups

This commit is contained in:
Damien
2026-06-01 10:02:26 +02:00
parent cfacc40854
commit ae8c3dfd22
3 changed files with 19 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/vars.json
---
ansible_user: debian
ansible_become: true
ansible_become_method: sudo

View File

@@ -1 +1,3 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/vars.json
---
ansible_user: root

View File

@@ -1,15 +1,29 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/inventory.json
---
# inventory/static_groups.yml
all:
children:
root_hosts:
hosts:
ipfabric:
pve01:
grafana:
gitea:
prometheus:
prometheus-pve-exporter:
gitea-runner:
openbao:
komodo:
debian_hosts:
hosts:
proxy:
managed:
children:
root_hosts:
debian_hosts:
excluded:
children:
hosts:
pve01: