From 330ee774aa51cf14bf50c30d481da129da24a884 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Tue, 10 Apr 2018 20:03:10 +0200 Subject: [PATCH] orientdb: disable the service when it has to stay stopped. --- orientdb/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/orientdb/tasks/main.yml b/orientdb/tasks/main.yml index f96b686e..95312dc9 100644 --- a/orientdb/tasks/main.yml +++ b/orientdb/tasks/main.yml @@ -76,6 +76,10 @@ service: name=orientdb state=started enabled=yes when: orientdb_enabled + - name: Ensure that the service is stopped and disabled + service: name=orientdb state=stopped enabled=no + when: not orientdb_enabled + tags: orientdb when: orientdb_install