Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------ pillar ---------------------------
- disks:
- /dev/disk/by-id/ata-WDC_WD30EZRX-serialXXX:
- - type: sat
- - email: notification@email.com
- - schedule: (S/../.././09|L/../../1/09)
- ----- jinja template -----------------
- {% for disk in pillar.get('disks', {}) %}
- {{disk}} -a -d {{disk.get('type')}} -I 194 -m {{disk.get('email')}} -s {{disk.get('schedule')}}
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement