Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workspace .ansible directory to default exclude #4544

Open
cidrblock opened this issue Mar 6, 2025 · 1 comment
Open

Add workspace .ansible directory to default exclude #4544

cidrblock opened this issue Mar 6, 2025 · 1 comment
Labels

Comments

@cidrblock
Copy link
Contributor

"exclude_paths": [".cache", ".git", ".hg", ".svn", ".tox"],

Since we use it for collections and roles and it is probably not already added to the users gitignore, should we addit as a default?

(It should probably be in the gitignore but in case it isn't)

@ssbarnea
Copy link
Member

I have nothing against it but there is one small note: if someone is cloning their collection or role directly inside ~/.ansible/... and they try to lint it or use molecule, a default exclude path like this might prevent them from finding anything. If we do it, we need to be sure this would happen.

@ssbarnea ssbarnea added the bug label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Roadmap
Development

No branches or pull requests

2 participants