Attributes

On the item level you can use attributes to configure how this role handles the items data.

The attributes supported by this role are:

item_name

Name of the item to load or create.

---
group:
  - item_name: my-item-name

item_expand

Boolean value indicating if treat this item as a file path or URL or just treat it as plain text.

---
group:
  - item_expand: true
    item_path: /home/username/my-config.yml

item_path

Absolute file path or URL to a .yml file.

---
group:
  - item_path: /home/username/my-config.yml

This attribute also works with URLs.