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_user: debian
ansible_become: true ansible_become: true
ansible_become_method: sudo 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 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 # inventory/static_groups.yml
all: all:
children: children:
root_hosts: root_hosts:
hosts: hosts:
ipfabric: ipfabric:
pve01:
grafana: grafana:
gitea: gitea:
prometheus: prometheus:
prometheus-pve-exporter: prometheus-pve-exporter:
gitea-runner: gitea-runner:
openbao:
komodo:
debian_hosts: debian_hosts:
hosts: hosts:
proxy: proxy:
managed:
children:
root_hosts:
debian_hosts:
excluded:
children:
hosts:
pve01: