Add name_servers alias to name_server vyos_system parameter (#24972)
Other modules use name_servers, we need to have a consistent interface for the platform agnostic modules work.
This commit is contained in:
parent
2039abbbfa
commit
cd13b70903
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ def main():
|
||||||
host_name=dict(type='str'),
|
host_name=dict(type='str'),
|
||||||
domain_name=dict(type='str'),
|
domain_name=dict(type='str'),
|
||||||
domain_search=dict(type='list'),
|
domain_search=dict(type='list'),
|
||||||
name_server=dict(type='list'),
|
name_server=dict(type='list', aliases=['name_servers']),
|
||||||
state=dict(type='str', default='present', choices=['present', 'absent']),
|
state=dict(type='str', default='present', choices=['present', 'absent']),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue