From 2957b584917ce81ffaa907e455f013db8c9edb68 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 20 Nov 2025 21:27:06 +0100 Subject: [PATCH] feat: Add Ansible, Terraform gitignore entries --- .gitignore | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/.gitignore b/.gitignore index 383de38..6cfd010 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,65 @@ vaultpass /.ansible /temp/ +# Created by https://www.toptal.com/developers/gitignore/api/-f,linux,markdown,ansible,terraform +# Edit at https://www.toptal.com/developers/gitignore?templates=-f,linux,markdown,ansible,terraform + +#!! ERROR: -f is undefined. Use list command to see defined gitignore types !!# + +### Ansible ### +*.retry + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +#!! ERROR: markdown is undefined. Use list command to see defined gitignore types !!# + +### Terraform ### +# Local .terraform directories +**/.terraform/* + +# .tfstate files +*.tfstate +*.tfstate.* + +# Crash log files +crash.log +crash.*.log + +# Exclude all .tfvars files, which are likely to contain sensitive data, such as +# password, private keys, and other secrets. These should not be part of version +# control as they are data points which are potentially sensitive and subject +# to change depending on the environment. +*.tfvars +*.tfvars.json + +# Ignore override files as they are usually used to override resources locally and so +# are not checked in +override.tf +override.tf.json +*_override.tf +*_override.tf.json + +# Include override files you do wish to add to version control using negated pattern +# !example_override.tf + +# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan +# example: *tfplan* + +# Ignore CLI configuration files +.terraformrc +terraform.rc + +# End of https://www.toptal.com/developers/gitignore/api/-f,linux,markdown,ansible,terraform