From 7a642c783acad82d1e6f5a73b21ddaccb4f752d5 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Thu, 24 Jan 2019 14:39:06 +0100 Subject: [PATCH] mso_schema: Improvements to docs (#51272) --- lib/ansible/modules/network/aci/mso_schema.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/network/aci/mso_schema.py b/lib/ansible/modules/network/aci/mso_schema.py index 52be98320c..da6288cc01 100644 --- a/lib/ansible/modules/network/aci/mso_schema.py +++ b/lib/ansible/modules/network/aci/mso_schema.py @@ -46,6 +46,12 @@ options: type: str choices: [ absent, present, query ] default: present +notes: +- This module cannot create empty schemas (i.e. schemas without templates). + Use the M(mso_schema_template) to automatically create schemas with templates. +seealso: +- module: mso_schema_site +- module: mso_schema_template extends_documentation_fragment: mso ''' @@ -126,7 +132,7 @@ def main(): supports_check_mode=True, required_if=[ ['state', 'absent', ['schema']], - ['state', 'present', ['schema']], + ['state', 'present', ['schema', 'templates']], ], )