summaryrefslogtreecommitdiffstats
path: root/roles/user/meta/argument_specs.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:32:01 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:32:01 +0200
commitb9b0620b988870525b9972b537b8e22a0c6499af (patch)
treef150e474c8d6a2448443ade1184f9c0f01ea4f06 /roles/user/meta/argument_specs.yml
parent20ab3adb6b08944235c707490449c8906394564f (diff)
Add user role
Diffstat (limited to 'roles/user/meta/argument_specs.yml')
-rw-r--r--roles/user/meta/argument_specs.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/roles/user/meta/argument_specs.yml b/roles/user/meta/argument_specs.yml
new file mode 100644
index 00000000..5f4b1fd4
--- /dev/null
+++ b/roles/user/meta/argument_specs.yml
@@ -0,0 +1,18 @@
+---
+argument_specs:
+ main:
+ options:
+ username:
+ type: "str"
+ required: true
+ description: "The username of the created account."
+ user_public_keys:
+ type: "list"
+ required: true
+ description: "The list SSH public key to be added to user authorized_keys."
+ elements: "str"
+ user_groups:
+ type: "list"
+ description: "The list of groups the user should be added to."
+ elements: "str"
+ default: []