initial commit of azure_rm inventory plugin (#44944)

* crusty refactor of azure_rm to support auth from non-modules
This commit is contained in:
Matt Davis
2018-08-31 01:33:23 -07:00
committed by GitHub
parent c2fa0d2c4b
commit 2822fd8d9b
3 changed files with 839 additions and 245 deletions

View File

@@ -286,7 +286,7 @@ class Constructable(object):
composite = self._compose(compose[varname], variables)
except Exception as e:
if strict:
raise AnsibleError("Could not set %s: %s" % (varname, to_native(e)))
raise AnsibleError("Could not set %s for host %s: %s" % (varname, host, to_native(e)))
continue
self.inventory.set_variable(host, varname, composite)