mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
initial commit of azure_rm inventory plugin (#44944)
* crusty refactor of azure_rm to support auth from non-modules
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user