Skip to content

Commit

Permalink
Merge branch 'release/0.4.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
b08x committed Nov 9, 2023
2 parents 0ccd1dd + 565e74e commit f3e46fd
Show file tree
Hide file tree
Showing 273 changed files with 27,749 additions and 1,255 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
*.pyc
tmp/
*.mp4
*.ppm
*.mmd
documentation/
roles/desktop/files/etc/xdg/menus/
roles/desktop/files/usr/local/share/applications/
roles/desktop/files/usr/local/share/desktop-directories/
docs/example/playbooks/vars/Archlinux-i3.yml
*.cast
*.bz2
60 changes: 4 additions & 56 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,58 +1,6 @@
# Ansible Collection - b08x.syncopated
# Ansible Collection: Syncopated

Documentation for the collection.
The "Syncopated" Ansible collection contains roles, playbooks, and modules to help configure and manage Linux hosts that are part of an audio production workflow. This includes digital signal processing (DSP) servers as well as digital audio workstation (DAW) client machines.

```yaml

- hosts: localhost
become: True
gather_subset:
- hardware
- network

vars:
desktop:
wm: 'i3'
shell: 'zsh'
dm: greetd
terminal: 'terminator'
audio: 'jack'
ruby_version: 3.0.0
python_version: 3.11.1
applications:
ide:
- 'sonic-pi'
- 'pulsar'
- 'bipscript'
audio:
daw:
- 'reaper'
- 'bitwig'
plugins:
- 'swh-lv2'
- 'x42'
- 'zita'
- 'ambix'
path:
- "{{ lookup('env','HOME') }}/.local/bin"
# - /another/path/bin
cleanup: True

environment:
PATH: "{{ ansible_env.PATH }}:/sbin:/bin:{{ path|join(':') }}"
PKG_CONFIG_PATH: "/usr/share/pkgconfig:/usr/lib/pkgconfig:/usr/local/lib/pkgconfig"
ZSH: "/usr/share/oh-my-zsh"
DISPLAY: ":0"



pre_tasks:

roles:

- role: desktop
tags: ['desktop']



```
The collection aims to automate and simplify setting up the Linux infrastructure for professional audio production environments. It handles mundane system configuration to allow engineers to focus on their creative work. The consistent configurations aid collaboration between sound engineers when working across different
studios and facilities.
2 changes: 1 addition & 1 deletion ansible.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stdout_callback = yaml
callbacks_enabled = profile_tasks

log_path = /tmp/ansible.log
ansible_managed = 'Ansible took care of this file because you were too busy with your modular synthsizers to be bothered.'
ansible_managed = Ansible took care of this file because you were too busy with your modular synthsizers to be bothered.

display_skipped_hosts = False
display_args_to_stdout = False
Expand Down
48 changes: 48 additions & 0 deletions bin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# setting up a new host

`bash <(curl http://github/b08x/syncopated/setup.sh)`

* installs ansible & galaxy collection

Feature: var files for each role are displayed for user to edit/change,
those variable are stored in ~/.config/syncopated/vars.yml

```bash

docker container of target distro with additional repos is started


***select packages to install using gum or fzf***



`prompt: select target distro`
`prompt: add any additional repos`
`prompt: add users`
`prompt: select window manager`
`prompt: edit/enter custom keybindings`
`prompt: select audio subsystem: jack|pipewire`
etc etc
```
Then when creating a playbook:
```yaml
- hosts: all
vars_files: ~/.config/syncopated/vars.yml
- hosts: localhost
vars_files: ~/.config/syncopated/host_vars/hostname.yml
- hosts: workstations
vars_files: ~/.config/syncopated/group_vars/workstations.yml
```
Loading

0 comments on commit f3e46fd

Please sign in to comment.