From 8225fddedbd8d86c4b9d0500bd4bf7636c01344f Mon Sep 17 00:00:00 2001
From: Jiri Podivin <jpodivin@redhat.com>
Date: Wed, 31 Mar 2021 08:35:29 +0200
Subject: [PATCH] .gitignore now excludes JSON molecule logs

Each run of the newly implemented tox-ansible tests,
produces several JSON log files, one for each stage
of the molecule test.

These files only describe results of their specific stage
and perform no other function.

This patch makes sure git doesn't consider these files
as unstaged and ignores them.

Signed-off-by: Jiri Podivin <jpodivin@redhat.com>
Change-Id: I9d00c4390ada5d51e1cb336be537349d7c124ac1
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index ad71cee..acdd74e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -62,3 +62,6 @@ releasenotes/build
 # Ansible specific
 hosts
 *.retry
+
+# JSON files created by molecule tests
+*/roles/*/molecule/*/*Z.json