summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/database/postgresql/postgresql_slot.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/database/postgresql/postgresql_slot.py')
-rw-r--r--lib/ansible/modules/database/postgresql/postgresql_slot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/database/postgresql/postgresql_slot.py b/lib/ansible/modules/database/postgresql/postgresql_slot.py
index ff6198e518..30aaf39458 100644
--- a/lib/ansible/modules/database/postgresql/postgresql_slot.py
+++ b/lib/ansible/modules/database/postgresql/postgresql_slot.py
@@ -222,7 +222,7 @@ def main():
argument_spec = postgres_common_argument_spec()
argument_spec.update(
db=dict(type="str", aliases=["login_db"]),
- name=dict(type="str", aliases=["slot_name"]),
+ name=dict(type="str", required=True, aliases=["slot_name"]),
slot_type=dict(type="str", default="physical", choices=["logical", "physical"]),
immediately_reserve=dict(type="bool", default=False),
session_role=dict(type="str"),