Add YAML schema references and reorganize inventory groups
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user