I was in need to manage multiple different exclusion Lists on multiple Windows Server 2016 Systems.
So i wrote this Simple Ansible Module, maybe someone of you can use it.
Its pretty simple to use:
Exclusion File Type
win_defender_exclusion: list: - ".mdb" type: Extension # if you don't want to ensure defined lists are the only one clean: false
win_defender_exclusion: list: - 'c:\database' type: Path clean: false
win_defender_exclusion: list: - 'MyEpicAppWithHeavyDiskIO.exe' type: Process clean:false
Hopefully someone was also in the need of this and find it :-)
Like, Watch, Fork it on Github, so i become famous!