Skip to content

Commit

Permalink
Add compose support in inventory/azure_rm.py (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-sun committed Jan 12, 2023
1 parent d2de6dd commit c1a3d7f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion plugins/inventory/azure_rm.py
Expand Up @@ -285,7 +285,10 @@ def _get_hosts(self):
self._process_queue_serial()

constructable_config_strict = boolean(self.get_option('fail_on_template_errors'))
constructable_config_compose = self.get_option('hostvar_expressions')
if self.get_option('hostvar_expressions') is not None:
constructable_config_compose = self.get_option('hostvar_expressions')
else:
constructable_config_compose = self.get_option('compose')
constructable_config_groups = self.get_option('conditional_groups')
constructable_config_keyed_groups = self.get_option('keyed_groups')

Expand Down

0 comments on commit c1a3d7f

Please sign in to comment.