github.com/choria-io/go-choria@v0.28.1-0.20240416190746-b3bf9c7d5a45/providers/discovery/inventory/testdata/good-inventory.yaml (about)

     1  $schema: https://choria.io/schemas/choria/discovery/v1/inventory_file.json
     2  groups:
     3    - name: malta
     4      filter:
     5        facts:
     6          - country=mt
     7  
     8    - name: germany
     9      filter:
    10        facts:
    11          - country=de
    12  
    13    - name: acme
    14      filter:
    15        compound: with("customer=acme")
    16  
    17  
    18    - name: all
    19  
    20  nodes:
    21    - name: dev1.example.net
    22      collectives:
    23        - mcollective
    24        - mt_collective
    25      facts:
    26        country: mt
    27        customer: acme
    28      classes:
    29        - one
    30        - two
    31      agents:
    32        - rpcutil
    33    - name: dev2.example.net
    34      collectives:
    35        - mcollective
    36        - de_collective
    37      facts:
    38        country: de
    39      classes:
    40        - one
    41        - two
    42        - three
    43      agents:
    44        - other
    45        - rpcutil
    46