salt-states/removeShortcuts.sls

7 lines
200 B
Plaintext
Raw Normal View History

2019-11-11 14:22:13 -05:00
{% import_yaml "bad_shortcuts.yaml" as bad_shortcuts %}
{% for shortcut in bad_shortcuts %}
Remove {{ shortcut }}:
file.absent:
- name: "C:\\Users\\Public\\Desktop\\{{ shortcut }}"
{% endfor %}