ovirt: host_pm: Add missing order parameter (#34213)

Fixes: https://github.com/ansible/ansible/issues/34134
This commit is contained in:
Ondra Machacek 2018-01-03 11:52:23 +01:00 committed by John R Barker
parent 43b0ba0679
commit b051fc6067

View file

@ -75,6 +75,7 @@ options:
order:
description:
- "Integer value specifying, by default it's added at the end."
version_added: "2.5"
extends_documentation_fragment: ovirt
'''
@ -171,7 +172,8 @@ class HostPmModule(BaseModule):
equal(self._module.params.get('password'), entity.password) and
equal(self._module.params.get('username'), entity.username) and
equal(self._module.params.get('port'), entity.port) and
equal(self._module.params.get('type'), entity.type)
equal(self._module.params.get('type'), entity.type) and
equal(self._module.params.get('order'), entity.order)
)
@ -187,6 +189,7 @@ def main():
password=dict(default=None, no_log=True),
type=dict(default=None),
port=dict(default=None, type='int'),
order=dict(default=None, type='int'),
slot=dict(default=None),
options=dict(default=None, type='dict'),
encrypt_options=dict(default=None, type='bool', aliases=['encrypt']),