skip all groupn since we create it ourselves
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
7784a4088e
commit
b91bb9836e
|
@ -128,7 +128,7 @@ def _backup_ansible(inventory):
|
||||||
).format(**host)
|
).format(**host)
|
||||||
text += '\n'
|
text += '\n'
|
||||||
for name, hosts in inventory.iteritems():
|
for name, hosts in inventory.iteritems():
|
||||||
if name == '_meta':
|
if name in ['_meta', 'all']:
|
||||||
continue
|
continue
|
||||||
text += '[{}]\n'.format(name)
|
text += '[{}]\n'.format(name)
|
||||||
for host in hosts['hosts']:
|
for host in hosts['hosts']:
|
||||||
|
|
Loading…
Reference in New Issue