Data from inventory scripts should be able to use nested Jinja2 expressions.
This commit is contained in:
parent
1e05688b04
commit
c2ac8fda1e
1 changed files with 4 additions and 1 deletions
|
@ -49,7 +49,10 @@ class InventoryScript(object):
|
|||
def _parse(self, err):
|
||||
|
||||
all_hosts = {}
|
||||
self.raw = utils.parse_json(self.data, from_remote=True)
|
||||
|
||||
# not passing from_remote because data from CMDB is trusted
|
||||
self.raw = utils.parse_json(self.data)
|
||||
|
||||
all = Group('all')
|
||||
groups = dict(all=all)
|
||||
group = None
|
||||
|
|
Loading…
Reference in a new issue