Remove files with glob pattern in Saltstack

If you want to remove files using a glob pattern the you can not use salt.states.file.absent because it does not support file globbing. To workaround this you can simply use salt.modules.file.find.

 

Leave a Comment