From d572e873df8928600fd9a86f94b69b76969c0cf1 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 28 Apr 2020 21:32:04 +0300 Subject: [PATCH] Do not try to connect to mons when everything is provided We shouldn't try to access monitors in case deployer has provided both ceph config and ceph auth. So that deployers wouldn't have to provide access to their ceph clusters to the deploy host. Change-Id: If0b4319826abd8991a81d39ca049e8063a667685 --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 098c9c3..f03392a 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -54,6 +54,7 @@ - ceph-install - include_tasks: ceph_get_mon_host.yml + when: ceph_conf_file is not defined or ceph_keyrings_dir is not defined tags: - ceph-config