summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené Moser <mail@renemoser.net>2017-06-29 17:43:31 +0200
committerRene Moser <mail@renemoser.net>2017-06-29 17:46:10 +0200
commit0c31f31385e74c5986943726a281f9f259532db5 (patch)
treebf73edecf9aadf3b5556c2b06691f51c080f89c1
parente36f568194e3d29491334f65ec2037dfe3c6da8c (diff)
downloadansible-0c31f31385e74c5986943726a281f9f259532db5.tar.gz
cloudstack: cs_template: default is_routing=None, fixes template upload for users (#26248)
(cherry picked from commit 363761fc1639dc36edda9602d7d32c351d3367ba)
-rw-r--r--lib/ansible/modules/cloud/cloudstack/cs_template.py4
1 files 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),