diff --git a/.gitignore b/.gitignore index 17bae38f..ddc5b2dc 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ collections/* # Ignore test directory test + +# Ignore installed ansible collections +/.ansible diff --git a/.gitleaks.toml b/.gitleaks.toml new file mode 100644 index 00000000..111f838c --- /dev/null +++ b/.gitleaks.toml @@ -0,0 +1,6 @@ +[allowlist] + description = "Global Allowlist" + paths = [ + # Ignore downloaded collections + '''(?:^|\/)\.ansible\/collections\/''', + ]