From a7a53d1f3823058ce1f7f19cc1ee84ac3cf170c9 Mon Sep 17 00:00:00 2001
From: hoatle <hoatle@teracy.com>
Date: Fri, 17 Aug 2018 09:21:58 +0700
Subject: [PATCH] add ignore_patterns to ansible.cfg

To avoid warning message when artifacts is generated within
the inventory directory
---
 ansible.cfg | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ansible.cfg b/ansible.cfg
index d3102a6f4..bfe917985 100644
--- a/ansible.cfg
+++ b/ansible.cfg
@@ -13,3 +13,5 @@ callback_whitelist = profile_tasks
 roles_path = roles:$VIRTUAL_ENV/usr/local/share/kubespray/roles:$VIRTUAL_ENV/usr/local/share/ansible/roles:/usr/share/kubespray/roles
 deprecation_warnings=False
 inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .creds
+[inventory]
+ignore_patterns = artifacts
-- 
GitLab