client-pull-installation/roles/docenti/tasks/epoptes.yml

26 lines
598 B
YAML
Raw Normal View History

---
# Managing Epoptes installation on 'docenti' role.
- name: Configuring the Epoptes server
lineinfile:
dest: /etc/default/epoptes
line: 'SOCKET_GROUP="{{ ansible_local.domain.domainshort }}\docenti"'
state: present
2016-02-19 00:04:11 +00:00
- name: Stopping epoptes SysV daemon
shell: /etc/init.d/epoptes stop
- name: Disabling sysv start
shell: /usr/sbin/update-rc.d -f epoptes remove
- name: Installing upstart service
copy:
src: epoptes.conf
dest: /etc/init/epoptes.conf
owner: root
group: root
mode: 0644
2016-02-19 00:04:11 +00:00
- name: Starting epoptes from upstart
shell: /sbin/start epoptes