From e2a42771ab6962cb0ab627bad00207dff84ec78f Mon Sep 17 00:00:00 2001 From: Sandwich Date: Wed, 11 Feb 2026 05:37:18 +0100 Subject: [PATCH] docu(schema): align docs and baremetal example with dict model --- inventory_baremetal_example.yml | 12 +++++++++++- roles/cis/tasks/modules.yml | 2 +- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/inventory_baremetal_example.yml b/inventory_baremetal_example.yml index adb97ac..39d7de4 100644 --- a/inventory_baremetal_example.yml +++ b/inventory_baremetal_example.yml @@ -1,9 +1,19 @@ --- all: + vars: + hypervisor: + type: "none" + filesystem: "ext4" hosts: baremetal01.example.com: ansible_host: 10.0.0.162 ansible_user: root ansible_password: "1234" ansible_become_password: "1234" - hostname: "baremetal01.example.com" + system: + type: "physical" + os: "archlinux" + name: "baremetal01.example.com" + disks: + - device: "/dev/sda" + size: 120 diff --git a/roles/cis/tasks/modules.yml b/roles/cis/tasks/modules.yml index a6c95a7..21c1485 100644 --- a/roles/cis/tasks/modules.yml +++ b/roles/cis/tasks/modules.yml @@ -18,7 +18,7 @@ install rds /bin/false install tipc /bin/false -- name: Remove legacy USB rules file +- name: Remove old USB rules file ansible.builtin.file: path: /mnt/etc/udev/rules.d/10-cis_usb_devices.sh state: absent