aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-05-16 17:04:54 +0200
committerGuido Günther <agx@sigxcpu.org>2017-05-16 17:04:54 +0200
commitb0b1f2eeb8799134f23aaff934845233705585fd (patch)
treefe050a021cc28ef3c75a07a990d02ec23b6fde6f
parenta1f024309e1b52583b882142dab0408dd70936a2 (diff)
Make sure ssl_verify is a bool
since ansible treats it as string otherwise
-rw-r--r--foremanhost.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/foremanhost.py b/foremanhost.py
index 721f36c..c6bb3e7 100644
--- a/foremanhost.py
+++ b/foremanhost.py
@@ -78,7 +78,7 @@ options:
description:
- Wether to verify SSL certs of the Foreman API
required: false
- default: {}
+ default: True
author:
- "Guido Günther"
'''
@@ -621,7 +621,7 @@ def main():
api_password=dict(no_log=True),
api_retries=dict(type='int'),
api_errors=dict(type='list'),
- ssl_verify=dict(),
+ ssl_verify=dict(type='bool'),
))
if not HAS_REQUESTS: