summaryrefslogtreecommitdiffstats
path: root/roles/ansible_service_broker
diff options
context:
space:
mode:
authorEric Wolinetz <ewolinet@redhat.com>2017-08-25 14:25:20 -0500
committerEric Wolinetz <ewolinet@redhat.com>2017-09-20 13:32:19 -0500
commitdace5169e0b5066a027746dd6f28f0268248043f (patch)
tree01ca466b678176c61fdb31ffe56bb972910b9f24 /roles/ansible_service_broker
parent4f5839e585a78243eae2d215176047299c52a1eb (diff)
downloadopenshift-dace5169e0b5066a027746dd6f28f0268248043f.tar.gz
openshift-dace5169e0b5066a027746dd6f28f0268248043f.tar.bz2
openshift-dace5169e0b5066a027746dd6f28f0268248043f.tar.xz
openshift-dace5169e0b5066a027746dd6f28f0268248043f.zip
Creating initial tsb role to consume and apply templates provided for tsb
Diffstat (limited to 'roles/ansible_service_broker')
-rw-r--r--roles/ansible_service_broker/defaults/main.yml1
-rw-r--r--roles/ansible_service_broker/tasks/main.yml4
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/ansible_service_broker/defaults/main.yml b/roles/ansible_service_broker/defaults/main.yml
index 12929b354..9eb9db316 100644
--- a/roles/ansible_service_broker/defaults/main.yml
+++ b/roles/ansible_service_broker/defaults/main.yml
@@ -1,6 +1,7 @@
---
ansible_service_broker_remove: false
+ansible_service_broker_install: false
ansible_service_broker_log_level: info
ansible_service_broker_output_request: false
ansible_service_broker_recovery: true
diff --git a/roles/ansible_service_broker/tasks/main.yml b/roles/ansible_service_broker/tasks/main.yml
index b46ce8233..d8695bd3a 100644
--- a/roles/ansible_service_broker/tasks/main.yml
+++ b/roles/ansible_service_broker/tasks/main.yml
@@ -2,7 +2,7 @@
# do any asserts here
- include: install.yml
- when: not ansible_service_broker_remove|default(false) | bool
+ when: ansible_service_broker_install | default(false) | bool
- include: remove.yml
- when: ansible_service_broker_remove|default(false) | bool
+ when: ansible_service_broker_remove | default(false) | bool