Use file.tidied state for windows desktop shortcuts

This commit is contained in:
Adam Goldsmith 2020-01-16 12:29:24 -05:00
parent 8fa81f0231
commit 2f575b3002
2 changed files with 20 additions and 22 deletions

View File

@ -1,16 +0,0 @@
- Browse VCarve Pro - ShopBot Edition V9.0 Tutorials.lnk
- Corel CAPTURE 2017 (64-Bit).lnk
- Corel CONNECT 2017 (64-Bit).lnk
- Corel Font Manager 2017 (64-Bit).lnk
- Corel PHOTO-PAINT 2017 (64-Bit).lnk
- Dell Backup and Recovery.lnk
- Dell Precision Optimizer.lnk
- Intel(R) HD Graphics Control Panel.lnk
- Intel(R) WiDi.lnk
- Protected Workspace.lnk
- Shop for HP Supplies.lnk
- Style Builder 2017.lnk
- LayOut 2017.lnk
- gVim 8.1.lnk
- gVim Easy 8.1.lnk
- gVim Read only 8.1.lnk

View File

@ -1,6 +1,20 @@
{% import_yaml "bad_shortcuts.yaml" as bad_shortcuts %}
{% for shortcut in bad_shortcuts %}
Remove {{ shortcut }}:
file.absent:
- name: "C:\\Users\\Public\\Desktop\\{{ shortcut }}"
{% endfor %}
"C:\\Users\\Public\\Desktop":
file.tidied:
- matches:
- Browse VCarve Pro - ShopBot Edition V9.0 Tutorials\.lnk
- Corel CAPTURE 2017 (64-Bit)\.lnk
- Corel CONNECT 2017 (64-Bit)\.lnk
- Corel Font Manager 2017 (64-Bit)\.lnk
- Corel PHOTO-PAINT 2017 (64-Bit)\.lnk
- Dell Backup and Recovery\.lnk
- Dell Precision Optimizer\.lnk
- Intel(R) HD Graphics Control Panel\.lnk
- Intel(R) WiDi\.lnk
- Protected Workspace\.lnk
- Shop for HP Supplies\.lnk
- Style Builder 2017\.lnk
- LayOut 2017\.lnk
- gVim [0-9]\.[0-9]\.lnk
- gVim Easy [0-9]\.[0-9]\.lnk
- gVim Read only [0-9]\.[0-9]\.lnk