fix(gitignore): ignore .ansible cache directory

A root-owned, empty .ansible/ (collections/modules/roles) directory
skeleton can appear in the repo root, from some root-run containerized
process's Ansible invocation resolving its collections_paths default
against the wrong $HOME. Confirmed this is not the project's own
convention: every reference in the codebase (Makefile, scripts/install/
all.sh, .github/workflows/lint-ansible.yml) consistently targets
~/.ansible/collections outside the repo, and .ansible/ has never been
tracked in this repository's history. Regardless of the exact trigger,
this directory is untracked and root-owned, and being previously
unlisted caused 'git stash push -u' to abort mid-cleanup on it
(EACCES), silently leaving other unrelated working-tree changes
unreset.
This commit is contained in:
Prageeth Panicker committed 2026-09-01 13:54:33 +00:00
1 parent 9f09f1cf88
commit c4e4495f09
2 files changed
+2

No files matched your search

+1
View File
@@ -40,6 +40,7 @@ compose/coredns/Corefile
compose/Corefile
# Host shell / editor / tooling state accidentally surfaced inside this working copy
.ansible
.bash_profile
.bashrc
.gitconfig
+1
View File
@@ -40,6 +40,7 @@ compose/coredns/Corefile
compose/Corefile
# Host shell / editor / tooling state accidentally surfaced inside this working copy
.ansible
.bash_profile
.bashrc
.gitconfig