Compare commits
2 Commits
caravaggio
...
master
Author | SHA1 | Date | |
---|---|---|---|
156a3b5c01 | |||
f12da6547d |
@ -1,7 +1,7 @@
|
|||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
36333564653138626465303239313536396663303831346364336264343763323932666162303730
|
34656463636239626332366464373337386539643933653433653362613238666330636334323465
|
||||||
3136363537366130643335613763303932323235383435660a323164663663373632303161356530
|
6666373739386430643330666238366237646365623634370a363530303762373036616332313966
|
||||||
36366565323134656562366639366237316635646262666162363436363135303839353163656161
|
31343339373532346538393164373037396135633631653133663862316161373566633938386234
|
||||||
3566653133616163630a363364303061326433616565613662313765306532316339363734666631
|
6366613030386432320a313262383838663262373037643138616131343337626234306436323462
|
||||||
38613865366133663639643930633063653339373035313764623862613237623762396564333466
|
64333262663662353836303365316433353463326664623838353339376164313235363339313238
|
||||||
3163663439393238373331666534363335326633336661323763
|
3865613230306436346365623338366564346633343565623964
|
||||||
|
@ -19,6 +19,12 @@
|
|||||||
state: absent
|
state: absent
|
||||||
when: get_epo_srv_name|changed
|
when: get_epo_srv_name|changed
|
||||||
|
|
||||||
|
- name: Ensuring epoptes-client is installed
|
||||||
|
apt:
|
||||||
|
name: epoptes-client
|
||||||
|
state: present
|
||||||
|
when: get_epo_srv_name|changed
|
||||||
|
|
||||||
- name: Configuring the client
|
- name: Configuring the client
|
||||||
replace:
|
replace:
|
||||||
dest: /etc/default/epoptes-client
|
dest: /etc/default/epoptes-client
|
||||||
|
@ -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