summaryrefslogtreecommitdiff
path: root/chaos-at-home/ch-equinox-ws.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-07-30 16:36:46 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-07-30 16:36:46 +0200
commit2a7602394af716163025d047fcc4c5fa085f6ec3 (patch)
treedef3908030e1d626e1d791459bebfd77d909bc54 /chaos-at-home/ch-equinox-ws.yml
parentchrony: make lua exporter closer to the output of chrony_exporter (diff)
ch-equinox-ws: re-install on ubuntu jammy
Diffstat (limited to 'chaos-at-home/ch-equinox-ws.yml')
-rw-r--r--chaos-at-home/ch-equinox-ws.yml77
1 files changed, 28 insertions, 49 deletions
diff --git a/chaos-at-home/ch-equinox-ws.yml b/chaos-at-home/ch-equinox-ws.yml
index 26a0dc79..1fccc684 100644
--- a/chaos-at-home/ch-equinox-ws.yml
+++ b/chaos-at-home/ch-equinox-ws.yml
@@ -18,10 +18,12 @@
- role: apt-repo/tor-project
- role: apt-repo/kubernetes
- role: apt-repo/element
- - role: apt-repo/freecad
- role: apt-repo/kicad6
+ - role: storage/zfs/pools
+ - role: storage/zfs/sanoid
- role: ws/base
- role: core/admin-users
+ - role: ws/pipewire
- role: ws/flatpak
post_tasks:
- name: disable caps-lock
@@ -38,58 +40,35 @@
opts: nodev,x-systemd.automount,nofail
state: mounted
- - name: create pulse daemon config directory
- file:
- path: /etc/pulse/daemon.conf.d
- state: directory
-
- - name: force pulseaudio sample rates to 48kHz (workadournd for Motu M4)
- copy:
- content: |
- resample-method = speex-float-10
- avoid-resampling = false
-
- default-sample-format = float32le
- default-sample-rate = 48000
- alternate-sample-rate = 48000
- dest: /etc/pulse/daemon.conf.d/motu-m4.conf
-
- - name: disable USB Powermanagement for Motu M4
- copy:
- content: |
- ## workaround for spurious audio issues with Motu M4
- ATTRS{idVendor}=="07fd", ATTRS{idProduct}=="0008", ATTR{power/control}="on", ATTR{power/persist}="0"
- dest: /etc/udev/rules.d/90-motu-m4-power.rules
-
- - name: mask virtualbox web service unit
- systemd:
- name: vboxweb.service
- masked: true
- state: stopped
-
- name: install deps for c3voc/cm repo
pip:
name:
- "bundlewrap>=4.13.6"
- "bundlewrap-keepass"
- - name: install gotify-desktop
- become: yes
- become_method: su
- become_user: "equinox"
- block:
- - name: get list of installed cargo crates
- check_mode: no
- command: "cargo install --list"
- changed_when: false
- register: installed_cargo_crates
+ # - name: mask virtualbox web service unit
+ # systemd:
+ # name: vboxweb.service
+ # masked: true
+ # state: stopped
+
+ # - name: install gotify-desktop
+ # become: yes
+ # become_method: su
+ # become_user: "equinox"
+ # block:
+ # - name: get list of installed cargo crates
+ # check_mode: no
+ # command: "cargo install --list"
+ # changed_when: false
+ # register: installed_cargo_crates
- - name: build
- loop:
- - name: gotify-desktop
- version: 1.2.0
- url: https://github.com/desbma/gotify-desktop.git
- loop_control:
- label: "{{ item.name }} ({{ item.version }})"
- when: (item.name+' v'+ item.version) not in installed_cargo_crates.stdout
- command: "cargo install --git '{{ item.url }}' --tag '{{ item.version }}'"
+ # - name: build
+ # loop:
+ # - name: gotify-desktop
+ # version: 1.2.0
+ # url: https://github.com/desbma/gotify-desktop.git
+ # loop_control:
+ # label: "{{ item.name }} ({{ item.version }})"
+ # when: (item.name+' v'+ item.version) not in installed_cargo_crates.stdout
+ # command: "cargo install --git '{{ item.url }}' --tag '{{ item.version }}'"