mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix type information for vmadm.resolvers (#2136)
* fix type information for vmadm.resolvers * Update changelogs/fragments/2135-vmadm-resolvers-type-fix.yml Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
3355e65781
commit
604a5dbf49
2 changed files with 4 additions and 2 deletions
2
changelogs/fragments/2135-vmadm-resolvers-type-fix.yml
Normal file
2
changelogs/fragments/2135-vmadm-resolvers-type-fix.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- vmadm - correct type of list elements in ``resolvers`` parameter (https://github.com/ansible-collections/community.general/issues/2135).
|
|
@ -233,7 +233,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- List of resolvers to be put into C(/etc/resolv.conf).
|
- List of resolvers to be put into C(/etc/resolv.conf).
|
||||||
type: list
|
type: list
|
||||||
elements: dict
|
elements: str
|
||||||
routes:
|
routes:
|
||||||
required: false
|
required: false
|
||||||
description:
|
description:
|
||||||
|
@ -702,7 +702,7 @@ def main():
|
||||||
vnc_password=dict(type='str', no_log=True),
|
vnc_password=dict(type='str', no_log=True),
|
||||||
disks=dict(type='list', elements='dict'),
|
disks=dict(type='list', elements='dict'),
|
||||||
nics=dict(type='list', elements='dict'),
|
nics=dict(type='list', elements='dict'),
|
||||||
resolvers=dict(type='list', elements='dict'),
|
resolvers=dict(type='list', elements='str'),
|
||||||
filesystems=dict(type='list', elements='dict'),
|
filesystems=dict(type='list', elements='dict'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue