implementing Alan's recommendations for ig_fallback

This commit is contained in:
Sarabraj Singh
2022-09-28 10:53:17 -04:00
committed by John Westcott IV
parent 2d756959d3
commit 2dcc7ec749
4 changed files with 8 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ class Inventory(CommonModelNameNotUnique, ResourceMixin, RelatedJobsMixin):
an inventory source contains lists and hosts.
"""
FIELDS_TO_PRESERVE_AT_COPY = ['hosts', 'groups', 'instance_groups']
FIELDS_TO_PRESERVE_AT_COPY = ['hosts', 'groups', 'instance_groups', 'prevent_instance_group_fallback']
KIND_CHOICES = [
('', _('Hosts have a direct link to this inventory.')),
('smart', _('Hosts for inventory generated using the host_filter property.')),