From 6db8c0e505138ebdd4a7d2d5c91861f745d519e2 Mon Sep 17 00:00:00 2001 From: Vinny Sabatini Date: Wed, 6 Nov 2019 13:15:01 -0600 Subject: [PATCH] make generate_resources optional and default false --- defaults/main.yml | 2 ++ library/openshift_provision.py | 1 + 2 files changed, 3 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index e118380..7023940 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -7,3 +7,5 @@ openshift_resource_path: openshift_provision_change_record: '' openshift_provision_cluster_vars: {} + +generate_resources: false diff --git a/library/openshift_provision.py b/library/openshift_provision.py index c327e69..1a9cdc1 100644 --- a/library/openshift_provision.py +++ b/library/openshift_provision.py @@ -1523,6 +1523,7 @@ def run_module(): # Use role as resource generator instead of provisioner 'generate_resources': { 'type': 'bool', + 'required': False, 'default': False } }