Add audio/video settngs tools
This commit is contained in:
parent
70848b23d4
commit
b42cc68ef8
2 changed files with 37 additions and 0 deletions
|
@ -3,6 +3,8 @@
|
||||||
hosts: localhost
|
hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
become: false
|
become: false
|
||||||
|
vars:
|
||||||
|
uid: "{{ lookup('env','USER') }}"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install apt packages
|
- name: Install apt packages
|
||||||
become: true
|
become: true
|
||||||
|
@ -22,6 +24,8 @@
|
||||||
- nextcloud-desktop
|
- nextcloud-desktop
|
||||||
- npm
|
- npm
|
||||||
- pass
|
- pass
|
||||||
|
- pavucontrol
|
||||||
|
- pipewire-audio
|
||||||
- pipx
|
- pipx
|
||||||
- plocate
|
- plocate
|
||||||
- python3-yamlfix
|
- python3-yamlfix
|
||||||
|
@ -35,6 +39,7 @@
|
||||||
- thunderbird
|
- thunderbird
|
||||||
- unzip
|
- unzip
|
||||||
- waybar
|
- waybar
|
||||||
|
- wdisplays
|
||||||
- wget
|
- wget
|
||||||
- wl-clipboard
|
- wl-clipboard
|
||||||
- wofi
|
- wofi
|
||||||
|
@ -53,3 +58,7 @@
|
||||||
pkg: [nano]
|
pkg: [nano]
|
||||||
state: absent
|
state: absent
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
- name: Enable pipewire-audio
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: systemctl --user enable --now pipewire-pulse
|
||||||
|
creates: /home/{{ uid }}/.config/systemd/user/default.target.wants/pipewire-pulse.service
|
||||||
|
|
28
playbooks/sunet.yaml
Normal file
28
playbooks/sunet.yaml
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
---
|
||||||
|
- name: Set up various work related stuff
|
||||||
|
hosts: localhost
|
||||||
|
vars:
|
||||||
|
uid: "{{ lookup('env','USER') }}"
|
||||||
|
gitops: git+ssh://git@gitops.sunet.se
|
||||||
|
opsrepos:
|
||||||
|
- sunet-drive-ops
|
||||||
|
- mail-ops
|
||||||
|
- platform-ops
|
||||||
|
connection: local
|
||||||
|
become: false
|
||||||
|
tasks:
|
||||||
|
- name: Create sunet folders
|
||||||
|
become: true
|
||||||
|
ansible.builtin.file:
|
||||||
|
dest: /home/{{ uid }}/sunet/{{ item }}
|
||||||
|
state: directory
|
||||||
|
loop:
|
||||||
|
- docker
|
||||||
|
- ops
|
||||||
|
- puppet
|
||||||
|
- name: Get gitops ops-repos
|
||||||
|
ansible.builtin.command:
|
||||||
|
chdir: /home/{{ uid }}/sources/
|
||||||
|
cmd: git clone {{ gitops }}/{{ item }}
|
||||||
|
creates: /home/{{ uid }}/sunet/ops/{{ item }}
|
||||||
|
loop: "{{ opsrepos }}"
|
Loading…
Add table
Reference in a new issue