summaryrefslogtreecommitdiffstats
path: root/roles/ansible_service_broker
diff options
context:
space:
mode:
authorShawn Hurley <shawn.hurley21@gmail.com>2017-11-08 15:02:16 -0500
committerShawn Hurley <shawn.hurley21@gmail.com>2017-11-08 15:32:30 -0500
commitd869e711b957029d98760901978d46902bc4b927 (patch)
tree4a24d5721662e02aaee2de0eb75f876521ecc0ee /roles/ansible_service_broker
parenta4d4b530bd4390a4a7f4cc277d02fd52796ee144 (diff)
downloadopenshift-d869e711b957029d98760901978d46902bc4b927.tar.gz
openshift-d869e711b957029d98760901978d46902bc4b927.tar.bz2
openshift-d869e711b957029d98760901978d46902bc4b927.tar.xz
openshift-d869e711b957029d98760901978d46902bc4b927.zip
Adding configuration for keeping transient namespace on error.
Diffstat (limited to 'roles/ansible_service_broker')
-rw-r--r--roles/ansible_service_broker/defaults/main.yml2
-rw-r--r--roles/ansible_service_broker/tasks/install.yml2
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/ansible_service_broker/defaults/main.yml b/roles/ansible_service_broker/defaults/main.yml
index 34110ca99..fee88cc2c 100644
--- a/roles/ansible_service_broker/defaults/main.yml
+++ b/roles/ansible_service_broker/defaults/main.yml
@@ -10,6 +10,8 @@ ansible_service_broker_dev_broker: false
ansible_service_broker_refresh_interval: 600s
# Recommended you do not enable this for now
ansible_service_broker_launch_apb_on_bind: false
+ansible_service_broker_keep_namespace_on_error: true
+ansible_service_broker_keep_namespace: false
ansible_service_broker_image_pull_policy: IfNotPresent
ansible_service_broker_sandbox_role: edit
diff --git a/roles/ansible_service_broker/tasks/install.yml b/roles/ansible_service_broker/tasks/install.yml
index ce7219aaa..ff90f59a3 100644
--- a/roles/ansible_service_broker/tasks/install.yml
+++ b/roles/ansible_service_broker/tasks/install.yml
@@ -430,6 +430,8 @@
bearer_token_file: ""
sandbox_role: {{ ansible_service_broker_sandbox_role }}
image_pull_policy: {{ ansible_service_broker_image_pull_policy }}
+ keep_namespace: {{ ansible_service_broker_keep_namespace | bool | lower }}
+ keep_namespace_on_error: {{ ansible_service_broker_keep_namespace_on_error | bool | lower }}
broker:
dev_broker: {{ ansible_service_broker_dev_broker | bool | lower }}
bootstrap_on_startup: {{ ansible_service_broker_bootstrap_on_startup | bool | lower }}