mirror of
https://github.com/ansible/awx.git
synced 2026-05-15 13:27:40 -02:30
Support passing instance filters to tower inventory src
* Switch ignore ssl errors to default on * Application inventory source defaults for Tower src
This commit is contained in:
@@ -1203,7 +1203,7 @@ class InventorySourceOptions(BaseModel):
|
||||
raise ValidationError(_('Invalid filter expression: %(filter)s') %
|
||||
{'filter': ', '.join(invalid_filters)})
|
||||
return instance_filters
|
||||
elif self.source == 'vmware':
|
||||
elif self.source in ('vmware', 'tower'):
|
||||
return instance_filters
|
||||
else:
|
||||
return ''
|
||||
|
||||
Reference in New Issue
Block a user