mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[6.0.0] xfconf - deprecate parameter disable_facts (#4520)
* xfconf: deprecate parameter disable_facts * added changelog fragment * changed deprecation to 8.0.0 * Update changelogs/fragments/4520-xfconf-deprecate-disable-facts.yml Co-authored-by: Felix Fontein <felix@fontein.de> * added parameter deprecation Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
ea456985f6
commit
1a2fa802c0
2 changed files with 8 additions and 2 deletions
|
@ -0,0 +1,2 @@
|
|||
deprecated_features:
|
||||
- xfconf - deprecated parameter ``disable_facts``, as since version 4.0.0 it only allows value ``true`` (https://github.com/ansible-collections/community.general/pull/4520).
|
|
@ -77,7 +77,7 @@ options:
|
|||
disable_facts:
|
||||
description:
|
||||
- The value C(false) is no longer allowed since community.general 4.0.0.
|
||||
- This option will be deprecated in a future version, and eventually be removed.
|
||||
- This option is deprecated, and will be removed in community.general 8.0.0.
|
||||
type: bool
|
||||
default: true
|
||||
version_added: 2.1.0
|
||||
|
@ -183,7 +183,11 @@ class XFConfProperty(CmdStateModuleHelper):
|
|||
choices=('string', 'int', 'double', 'bool', 'uint', 'uchar', 'char', 'uint64', 'int64', 'float')),
|
||||
value=dict(type='list', elements='raw'),
|
||||
force_array=dict(type='bool', default=False, aliases=['array']),
|
||||
disable_facts=dict(type='bool', default=True),
|
||||
disable_facts=dict(
|
||||
type='bool', default=True,
|
||||
removed_in_version='8.0.0',
|
||||
removed_from_collection='community.general'
|
||||
),
|
||||
),
|
||||
required_if=[('state', 'present', ['value', 'value_type'])],
|
||||
required_together=[('value', 'value_type')],
|
||||
|
|
Loading…
Reference in a new issue