mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 08:48:46 -03:30
Merge pull request #4319 from AlanCoding/azure_template_errors
Ignore Azure templating errors Reviewed-by: Alan Rominger <arominge@redhat.com> https://github.com/AlanCoding
This commit is contained in:
@@ -1991,6 +1991,8 @@ class azure_rm(PluginFileInjector):
|
|||||||
|
|
||||||
source_vars = inventory_update.source_vars_dict
|
source_vars = inventory_update.source_vars_dict
|
||||||
|
|
||||||
|
ret['fail_on_template_errors'] = False
|
||||||
|
|
||||||
group_by_hostvar = {
|
group_by_hostvar = {
|
||||||
'location': {'prefix': '', 'separator': '', 'key': 'location'},
|
'location': {'prefix': '', 'separator': '', 'key': 'location'},
|
||||||
'tag': {'prefix': '', 'separator': '', 'key': 'tags.keys() | list if tags else []'},
|
'tag': {'prefix': '', 'separator': '', 'key': 'tags.keys() | list if tags else []'},
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ default_host_filters: []
|
|||||||
exclude_host_filters:
|
exclude_host_filters:
|
||||||
- resource_group not in ['foo_resources', 'bar_resources']
|
- resource_group not in ['foo_resources', 'bar_resources']
|
||||||
- location not in ['southcentralus', 'westus']
|
- location not in ['southcentralus', 'westus']
|
||||||
|
fail_on_template_errors: false
|
||||||
hostvar_expressions:
|
hostvar_expressions:
|
||||||
ansible_host: private_ipv4_addresses[0]
|
ansible_host: private_ipv4_addresses[0]
|
||||||
computer_name: name
|
computer_name: name
|
||||||
|
|||||||
Reference in New Issue
Block a user