summaryrefslogtreecommitdiff
path: root/ansible/roles/trove-setup/tasks/check.yml
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-10 17:07:36 +0100
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-17 16:53:45 +0100
commit48a9bb48b428e08395179800359d264ef35b5c24 (patch)
tree3f91726ef415ebd7fed10e301287fe662e1ac7af /ansible/roles/trove-setup/tasks/check.yml
parentb2260b5fb45f4519bf7ea31ac278ffac7cddfbb7 (diff)
downloadtrove-setup-48a9bb48b428e08395179800359d264ef35b5c24.tar.gz
Allow the configuration of troves without UPSTREAM_TROVE
Now UPSTREAM_TROVE is not mandatory to configure a Trove, and if the value is not set, then the configuration of the lorry controller (lorry-controller.conf) won't include any configuration for an upstream Trove.
Diffstat (limited to 'ansible/roles/trove-setup/tasks/check.yml')
-rw-r--r--ansible/roles/trove-setup/tasks/check.yml3
1 files changed, 0 insertions, 3 deletions
diff --git a/ansible/roles/trove-setup/tasks/check.yml b/ansible/roles/trove-setup/tasks/check.yml
index 6305a78..1495b4b 100644
--- a/ansible/roles/trove-setup/tasks/check.yml
+++ b/ansible/roles/trove-setup/tasks/check.yml
@@ -26,9 +26,6 @@
- fail: msg='WORKER_SSH_PUBKEY is mandatory'
when: WORKER_SSH_PUBKEY is not defined
-- fail: msg='UPSTREAM_TROVE is mandatory'
- when: UPSTREAM_TROVE is not defined
-
- set_fact: UPSTREAM_TROVE_PROTOCOL=ssh
when: UPSTREAM_TROVE_PROTOCOL is not defined