Trying to repair epoptes service.

This commit is contained in:
Emiliano Vavassori 2016-02-19 01:04:11 +01:00
parent 1003556d64
commit 76c8dbd8b3
1 changed files with 6 additions and 5 deletions

View File

@ -7,6 +7,10 @@
line: 'SOCKET_GROUP="{{ ansible_local.domain.domainshort }}\docenti"'
state: present
- name: Stopping epoptes SysV daemon
shell: /etc/init.d/epoptes stop
become: yes
- name: Disabling sysv start
shell: /usr/sbin/update-rc.d -f epoptes remove
become: yes
@ -19,9 +23,6 @@
group: root
mode: 0644
- name: Ensure to start the service
service:
name: epoptes
state: started
enabled: yes
- name: Starting epoptes from upstart
shell: /sbin/start epoptes
become: yes