# Revision history [back]

### How to ignore certain directories for a folder managed recursively?

I have a strict case where i need to manage a folder on all hosts in one module and folders under this one in other modules, i.e.

module1: /var/module1
module2: /var/module1/module2
module3: /var/module1/module3
...


/var/module1 and all its contents (including subdirectories) need to be fully managed. In addition, /var/module1/module2, etc. need to be managed as well, but other modules will manage those.

I am aware of the ignore parameter in the file type, but it seems to only ignore specific file names. Is it possible to ignore specific folders or what is the best way to manage this?