From b91bb9836e16fa07d5d293503884292a66481688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 18 Feb 2019 11:33:09 +0100 Subject: [PATCH] skip all groupn since we create it ourselves MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/terraform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/terraform.py b/ansible/terraform.py index d945dfa..f88e839 100755 --- a/ansible/terraform.py +++ b/ansible/terraform.py @@ -128,7 +128,7 @@ def _backup_ansible(inventory): ).format(**host) text += '\n' for name, hosts in inventory.iteritems(): - if name == '_meta': + if name in ['_meta', 'all']: continue text += '[{}]\n'.format(name) for host in hosts['hosts']: