Skip to content

Commit

Permalink
Remove duplicate defaulting for ASB and TSB
Browse files Browse the repository at this point in the history
  • Loading branch information
sdodson committed Nov 8, 2017
1 parent a4d4b53 commit 26a6ddc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion roles/ansible_service_broker/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

ansible_service_broker_remove: false
ansible_service_broker_install: false
ansible_service_broker_install: true
ansible_service_broker_log_level: info
ansible_service_broker_output_request: false
ansible_service_broker_recovery: true
Expand Down
4 changes: 2 additions & 2 deletions roles/ansible_service_broker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# do any asserts here

- include: install.yml
when: ansible_service_broker_install | default(true) | bool
when: ansible_service_broker_install | bool

- include: remove.yml
when: ansible_service_broker_remove | default(false) | bool
when: ansible_service_broker_remove | bool
2 changes: 1 addition & 1 deletion roles/template_service_broker/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# placeholder file?
template_service_broker_remove: False
template_service_broker_install: False
template_service_broker_install: True
openshift_template_service_broker_namespaces: ['openshift']
4 changes: 2 additions & 2 deletions roles/template_service_broker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# do any asserts here

- include: install.yml
when: template_service_broker_install | default(true) | bool
when: template_service_broker_install | bool

- include: remove.yml
when: template_service_broker_remove | default(false) | bool
when: template_service_broker_remove | bool

0 comments on commit 26a6ddc

Please sign in to comment.