Removed invalid state enabled from available choices.

This commit is contained in:
Rafael Guterres Jeffman
2020-06-01 18:20:48 -03:00
parent cf0b710047
commit 95d90ef31f

View File

@@ -142,7 +142,7 @@ options:
state:
description: State to ensure
default: present
choices: ["present", "absent", "enabled", "disabled"]
choices: ["present", "absent", "disabled"]
author:
- Rafael Jeffman
"""
@@ -365,8 +365,7 @@ def init_ansible_module():
choices=["member", "service"]),
# state
state=dict(type="str", default="present",
choices=["present", "absent",
"enabled", "disabled"]),
choices=["present", "absent", "disabled"]),
),
supports_check_mode=True,
)