This commit is contained in:
parent
f12da6547d
commit
156a3b5c01
@ -1,6 +1,11 @@
|
|||||||
---
|
---
|
||||||
# Managing Epoptes installation on 'docenti' role.
|
# Managing Epoptes installation on 'docenti' role.
|
||||||
|
|
||||||
|
- name: Ensuring epoptes package has been installed
|
||||||
|
apt:
|
||||||
|
name: epoptes
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Configuring the Epoptes server
|
- name: Configuring the Epoptes server
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: /etc/default/epoptes
|
dest: /etc/default/epoptes
|
||||||
@ -29,3 +34,19 @@
|
|||||||
- name: Starting epoptes from upstart
|
- name: Starting epoptes from upstart
|
||||||
shell: /sbin/start epoptes
|
shell: /sbin/start epoptes
|
||||||
when: epoptes_status.stdout.find("start/running") == -1
|
when: epoptes_status.stdout.find("start/running") == -1
|
||||||
|
|
||||||
|
# Disabling ufw as per issue #12
|
||||||
|
- name: Disabling ufw by override
|
||||||
|
lineinfile:
|
||||||
|
path: /etc/init/ufw.override
|
||||||
|
line: "manual"
|
||||||
|
state: present
|
||||||
|
create: yes
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
|
- name: Stopping ufw
|
||||||
|
service:
|
||||||
|
name: ufw
|
||||||
|
state: stopped
|
||||||
|
Loading…
x
Reference in New Issue
Block a user