1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7).

This commit is contained in:
Ding Deng 2014-08-19 17:44:02 +08:00
parent c8494cdc39
commit 13db184d7f

View file

@ -53,7 +53,7 @@ options:
- The type of the value supplied - The type of the value supplied
required: false required: false
default: null default: null
choices: [string, boolean, select, multiselect, note, text, password, title] choices: [string, password, boolean, select, multiselect, note, error, title, text]
aliases: [] aliases: []
value: value:
description: description:
@ -120,7 +120,7 @@ def main():
argument_spec = dict( argument_spec = dict(
name = dict(required=True, aliases=['pkg'], type='str'), name = dict(required=True, aliases=['pkg'], type='str'),
question = dict(required=False, aliases=['setting', 'selection'], type='str'), question = dict(required=False, aliases=['setting', 'selection'], type='str'),
vtype = dict(required=False, type='str', choices=['string', 'boolean', 'select', 'multiselect', 'note', 'text', 'password', 'title']), vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text']),
value= dict(required=False, type='str'), value= dict(required=False, type='str'),
unseen = dict(required=False, type='bool'), unseen = dict(required=False, type='bool'),
), ),