refac(meshbook): rework the targeting module to now be case insensitive
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user