mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07: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:
parent
c2fa0d2c4b
commit
2822fd8d9b
3 changed files with 839 additions and 245 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue