From a4e2205354681ed1819a3ea4c106dfdc04ee2982 Mon Sep 17 00:00:00 2001 From: Varac <varac@varac.net> Date: Fri, 26 Apr 2019 11:49:25 +0200 Subject: [PATCH] Ignore all custom settings and inventory files I had multiple custom files for 2 clusters I maintain, so I wanted to gitignore them all. --- .gitignore | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ee03e6819..c6598590d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,8 @@ # Ignore custom files created when following the README.md -/ansible/group_vars/cluster/settings.yml -/ansible/inventory.yml +!ansible/group_vars/cluster/settings.yml.example +/ansible/group_vars/cluster/settings* +!/ansible/inventory.yml.example +/ansible/inventory* # Ignore files created by ansible-playbook *.retry -- GitLab