Compare commits
5 Commits
9faedbc1ee
...
1322cd1938
Author | SHA1 | Date | |
---|---|---|---|
1322cd1938 | |||
e0dd31c874 | |||
156a3b5c01 | |||
f12da6547d | |||
57c5e8051c |
@ -19,6 +19,12 @@
|
||||
state: absent
|
||||
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
|
||||
replace:
|
||||
dest: /etc/default/epoptes-client
|
||||
|
@ -1,6 +1,11 @@
|
||||
---
|
||||
# Managing Epoptes installation on 'docenti' role.
|
||||
|
||||
- name: Ensuring epoptes package has been installed
|
||||
apt:
|
||||
name: epoptes
|
||||
state: present
|
||||
|
||||
- name: Configuring the Epoptes server
|
||||
lineinfile:
|
||||
dest: /etc/default/epoptes
|
||||
@ -29,3 +34,19 @@
|
||||
- name: Starting epoptes from upstart
|
||||
shell: /sbin/start epoptes
|
||||
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
|
||||
|
@ -29,9 +29,9 @@
|
||||
- name: Disabling pulseaudio startup on lightdm
|
||||
shell: chmod -x /usr/bin/start-pulseaudio-x11
|
||||
|
||||
#- name: Adding pulseaudio fixing script at reboot.
|
||||
# lineinfile:
|
||||
# line: '@reboot root curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/pulseaudio-perms.sh | bash >/dev/null 2>&1'
|
||||
# dest: /etc/cron.d/pulseaudio-perms
|
||||
# create: yes
|
||||
# state: present
|
||||
- name: Adding pulseaudio fixing script at reboot.
|
||||
lineinfile:
|
||||
line: '@reboot root curl -sSL http://{{ ansible_local.domain.serverfqdn }}/ks/preseed/pulseaudio-perms.sh | bash >/dev/null 2>&1'
|
||||
dest: /etc/cron.d/pulseaudio-perms
|
||||
create: yes
|
||||
state: present
|
||||
|
Loading…
x
Reference in New Issue
Block a user