Naming the resources "type" was a stupid mistake, and is a huge source of confusion when also talking about real types. Fix this before it gets out of hand.
29 lines
510 B
YAML
29 lines
510 B
YAML
---
|
|
graph: mygraph
|
|
resources:
|
|
file:
|
|
- name: file1c
|
|
path: "/tmp/mgmtC/f1c"
|
|
content: |
|
|
i am f1
|
|
state: exists
|
|
- name: file2c
|
|
path: "/tmp/mgmtC/f2c"
|
|
content: |
|
|
i am f2
|
|
state: exists
|
|
- name: "@@file3c"
|
|
path: "/tmp/mgmtC/f3c"
|
|
content: |
|
|
i am f3, exported from host C
|
|
state: exists
|
|
- name: "@@file4c"
|
|
path: "/tmp/mgmtC/f4c"
|
|
content: |
|
|
i am f4, exported from host C
|
|
state: exists
|
|
collect:
|
|
- res: file
|
|
pattern: "/tmp/mgmtC/"
|
|
edges: []
|