From 564600f053dc39890a5c82471c9d7ed9ad73604d Mon Sep 17 00:00:00 2001 From: Eduardo Benzecri Date: Thu, 15 Jun 2023 12:12:54 -0300 Subject: [PATCH] ansible-scylla-node: Enable 'scylla-node-exporter' service only if its available Ref: #249 Signed-off-by: Eduardo Benzecri --- ansible-scylla-node/tasks/common.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ansible-scylla-node/tasks/common.yml b/ansible-scylla-node/tasks/common.yml index cfc96497..338c00a0 100644 --- a/ansible-scylla-node/tasks/common.yml +++ b/ansible-scylla-node/tasks/common.yml @@ -130,8 +130,7 @@ state: started enabled: true become: true - ignore_errors: true - #TODO: stop ignoring errors when a version check is added + when: ansible_facts.services["scylla-node-exporter.service"] is defined - name: configure Scylla shell: |