aboutsummaryrefslogtreecommitdiffstats
path: root/roles/doorputer/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2020-02-27 18:00:50 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2020-02-27 18:00:50 +0100
commit3f2d398b8d7594b06f5151e8e2ac7fab20f2160c (patch)
treef7a500161417e581e816be3eb85d9b2864aed567 /roles/doorputer/tasks
parent4a839b51c24a6587f498272e0d26041404577d90 (diff)
downloadlabitat-ansible-3f2d398b8d7594b06f5151e8e2ac7fab20f2160c.tar.gz
labitat-ansible-3f2d398b8d7594b06f5151e8e2ac7fab20f2160c.tar.xz
labitat-ansible-3f2d398b8d7594b06f5151e8e2ac7fab20f2160c.zip
doorputer: alsa: disable state daemon
Diffstat (limited to 'roles/doorputer/tasks')
-rw-r--r--roles/doorputer/tasks/alsa.yml18
-rw-r--r--roles/doorputer/tasks/main.yml2
2 files changed, 20 insertions, 0 deletions
diff --git a/roles/doorputer/tasks/alsa.yml b/roles/doorputer/tasks/alsa.yml
new file mode 100644
index 0000000..dacab95
--- /dev/null
+++ b/roles/doorputer/tasks/alsa.yml
@@ -0,0 +1,18 @@
+---
+- name: Create /etc/alsa
+ file:
+ path: '/etc/alsa'
+ state: 'directory'
+ owner: root
+ group: root
+ mode: 0755
+
+- name: Don't run the alsa state daemon
+ copy:
+ dest: '/etc/alsa/state-daemon.conf'
+ content: ''
+ owner: root
+ group: root
+ mode: 0644
+
+# vim: set ts=2 sw=2 et:
diff --git a/roles/doorputer/tasks/main.yml b/roles/doorputer/tasks/main.yml
index 62a693a..99e54e2 100644
--- a/roles/doorputer/tasks/main.yml
+++ b/roles/doorputer/tasks/main.yml
@@ -19,6 +19,8 @@
tags:
- motd
+- import_tasks: alsa.yml
+ tags: alsa
- import_tasks: bluetooth.yml
tags: bluetooth
- import_tasks: lockserver.yml