From 0c31f31385e74c5986943726a281f9f259532db5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Moser?= Date: Thu, 29 Jun 2017 17:43:31 +0200 Subject: cloudstack: cs_template: default is_routing=None, fixes template upload for users (#26248) (cherry picked from commit 363761fc1639dc36edda9602d7d32c351d3367ba) --- lib/ansible/modules/cloud/cloudstack/cs_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/cloudstack/cs_template.py b/lib/ansible/modules/cloud/cloudstack/cs_template.py index 98fc0abc97..f33a0b403a 100644 --- a/lib/ansible/modules/cloud/cloudstack/cs_template.py +++ b/lib/ansible/modules/cloud/cloudstack/cs_template.py @@ -164,7 +164,7 @@ options: - True if the template type is routing i.e., if template is used to deploy router. - Only considered if C(url) is used. required: false - default: false + default: null format: description: - The format for the template. @@ -611,7 +611,7 @@ def main(): is_featured = dict(type='bool', default=False), is_dynamically_scalable = dict(type='bool', default=False), is_extractable = dict(type='bool', default=False), - is_routing = dict(type='bool', default=False), + is_routing = dict(type='bool', default=None), checksum = dict(default=None), template_filter = dict(default='self', choices=['featured', 'self', 'selfexecutable', 'sharedexecutable', 'executable', 'community']), hypervisor = dict(choices=CS_HYPERVISORS, default=None), -- cgit v1.2.1