diff options
| author | luisgulo <luisgulo@gmail.com> | 2025-10-24 18:01:10 +0200 |
|---|---|---|
| committer | luisgulo <luisgulo@gmail.com> | 2025-10-24 18:01:10 +0200 |
| commit | 533e79ba959143f0459431a486bfb85c56c72ddc (patch) | |
| tree | 91974de1bbbdc4c51c76ed591fc5c6e02a3342b6 /core/inventory | |
| parent | 45019c81cfd0fc1d18dce18cdfd5f127c6d61073 (diff) | |
Releasing code version 1.8.0
Diffstat (limited to 'core/inventory')
| -rw-r--r-- | core/inventory/groups.yaml | 9 | ||||
| -rw-r--r-- | core/inventory/hosts.yaml | 17 | ||||
| -rw-r--r-- | core/inventory/vars/all.yaml | 20 |
3 files changed, 46 insertions, 0 deletions
diff --git a/core/inventory/groups.yaml b/core/inventory/groups.yaml new file mode 100644 index 0000000..52dae9b --- /dev/null +++ b/core/inventory/groups.yaml @@ -0,0 +1,9 @@ +# groups.yaml — Definición de grupos en ShFlow +# Este archivo permite describir grupos, asignar etiquetas y metadatos. +# Sintaxis: +# groups: +# nombre_grupo: +# description: <texto descriptivo> +# tags: [tag1, tag2, ...] + +groups: {} diff --git a/core/inventory/hosts.yaml b/core/inventory/hosts.yaml new file mode 100644 index 0000000..faafa09 --- /dev/null +++ b/core/inventory/hosts.yaml @@ -0,0 +1,17 @@ +# hosts.yaml — Inventario principal de ShFlow +# Este archivo define los hosts y su pertenencia a grupos. +# Sintaxis: +# all: +# hosts: +# nombre_host: +# ansible_host: <IP o FQDN> +# become: <true|false> +# <clave>: <valor> +# children: +# nombre_grupo: +# hosts: +# nombre_host: + +all: + hosts: {} + children: {} diff --git a/core/inventory/vars/all.yaml b/core/inventory/vars/all.yaml new file mode 100644 index 0000000..e0c5b8f --- /dev/null +++ b/core/inventory/vars/all.yaml @@ -0,0 +1,20 @@ +# all.yaml — Variables globales para todos los hosts en ShFlow +# Este archivo define valores comunes que se aplican a todos los hosts del inventario. +# Sintaxis: +# clave: valor +# Las variables aquí definidas pueden ser sobrescritas por vars de grupo o de host. + +language: es +timezone: Europe/Madrid +ntp_servers: + - 0.europe.pool.ntp.org + - 1.europe.pool.ntp.org +default_packages: + - curl + - vim + - bash-completion +ssh_port: 22 +become: true +env: production +vault_enabled: true +vault_rotation_interval: 30d |
