From 6a68469209c4a01090ca0c3ae78c70cb764fb330 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 7 Oct 2023 14:38:54 +0200 Subject: [PATCH] Add some read-only values to the user path. (#228) --- plugins/module_utils/_api_data.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index a0fc6f1..e876ac8 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -3380,7 +3380,9 @@ PATHS = { 'address': KeyInfo(), 'comment': KeyInfo(can_disable=True, remove_value=''), 'disabled': KeyInfo(default=False), + 'expired': KeyInfo(read_only=True), 'group': KeyInfo(), + 'last-logged-in': KeyInfo(read_only=True), 'name': KeyInfo(), 'password': KeyInfo(write_only=True), },