forked from ISTI-ansible-roles/ansible-roles
orientdb: disable the service when it has to stay stopped.
This commit is contained in:
parent
2a3c86a412
commit
330ee774aa
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue