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

added 'seen' type to debconf

This commit is contained in:
Brian Coca 2016-06-20 08:58:33 -04:00 committed by Matt Clay
parent 668f01c04c
commit 28bba4fdfb

View file

@ -51,11 +51,11 @@ options:
aliases: ['setting', 'selection']
vtype:
description:
- The type of the value supplied
- The type of the value supplied.
- C(seen) was added in 2.2.
required: false
default: null
choices: [string, password, boolean, select, multiselect, note, error, title, text]
aliases: []
choices: [string, password, boolean, select, multiselect, note, error, title, text, seen]
value:
description:
- Value to set the configuration to
@ -67,8 +67,7 @@ options:
- Do not set 'seen' flag when pre-seeding
required: false
default: False
aliases: []
author: Brian Coca
author: "Brian Coca (@bcoca)"
'''
@ -119,7 +118,7 @@ def main():
argument_spec = dict(
name = dict(required=True, aliases=['pkg'], type='str'),
question = dict(required=False, aliases=['setting', 'selection'], type='str'),
vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text']),
vtype = dict(required=False, type='str', choices=['string', 'password', 'boolean', 'select', 'multiselect', 'note', 'error', 'title', 'text', 'seen']),
value= dict(required=False, type='str'),
unseen = dict(required=False, type='bool'),
),