refac(meshbook): rework the targeting module to now be case insensitive

This commit is contained in:
Daan Selen
2025-09-10 16:26:52 +02:00
parent f0e9e40cca
commit f34d1dc7ae
3 changed files with 135 additions and 109 deletions
+4 -2
View File
@@ -92,7 +92,7 @@ python3 meshbook.py --help
Meshbook configurations are written in YAML. Below is an overview of supported fields.
### ▶️ Group Targeting
### ▶️ Group Targeting (Primary*)
```yaml
---
@@ -110,7 +110,7 @@ tasks:
* `group`: MeshCentral group (aka "mesh"). Quotation marks required for multi-word names.
* `powershell`: Set `true` for PowerShell commands on Windows clients.
### ▶️ Device Targeting
### ▶️ Device Targeting (Secondary*)
You can also target a **specific device** rather than a group. See [`apt_update_example.yaml`](./examples/linux/apt_update_example.yaml) for reference.
@@ -128,6 +128,8 @@ tasks:
command: 'echo "{{ example_var }}"'
```
* Primary and Secondary mark the order in which will take prescendence
### ▶️ Tasks
Define multiple tasks: