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
commit 2822fd8d9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)