orientdb: disable the service when it has to stay stopped.

This commit is contained in:
Andrea Dell'Amico 2018-04-10 20:03:10 +02:00
parent 2a3c86a412
commit 330ee774aa
1 changed files with 4 additions and 0 deletions

View File

@ -76,6 +76,10 @@
service: name=orientdb state=started enabled=yes service: name=orientdb state=started enabled=yes
when: orientdb_enabled 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 tags: orientdb
when: orientdb_install when: orientdb_install