diff --git a/awx/api/serializers.py b/awx/api/serializers.py index 5115d51b00..305734cf7c 100644 --- a/awx/api/serializers.py +++ b/awx/api/serializers.py @@ -2040,6 +2040,7 @@ class InventorySourceOptionsSerializer(BaseSerializer): 'custom_virtualenv', 'timeout', 'verbosity', + 'limit', ) read_only_fields = ('*', 'custom_virtualenv') @@ -2083,7 +2084,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt class Meta: model = InventorySource - fields = ('*', 'name', 'inventory', 'update_on_launch', 'update_cache_timeout', 'source_project', 'limit') + ( + fields = ('*', 'name', 'inventory', 'update_on_launch', 'update_cache_timeout', 'source_project') + ( 'last_update_failed', 'last_updated', ) # Backwards compatibility.