A new role (separate from base) that gives workstation-class hosts (ubongo now, mamba later) a clean interactive environment: zsh + oh-my-zsh + oh-my-posh, tmux + TPM plugins, and neovim. Dotfiles are real files deployed via GNU stow (not templated); pinned nvim v0.12.2 + oh-my-posh 29.0.1. Configs re-derived (ADR-013) from AnsibleBaobabV4 + the operator's fisi setup on boma's terms: no Nerd Font (headless host), no system LSP suite (nvim uses mason), versions pinned (V4 tracks latest). Applied via playbooks/workstation.yml to the control group for users sjat + claude. Lint + Molecule (idempotent) green. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
25 lines
791 B
YAML
25 lines
791 B
YAML
---
|
|
- name: Oh-my-posh | Check installed version
|
|
ansible.builtin.command: oh-my-posh --version
|
|
register: dev_env__omp_check
|
|
changed_when: false
|
|
failed_when: false
|
|
|
|
- name: Oh-my-posh | Install pinned binary
|
|
ansible.builtin.get_url:
|
|
url: "https://github.com/JanDeDobbeleer/oh-my-posh/releases/download/v{{ dev_env__omp_version }}/posh-linux-amd64"
|
|
dest: /usr/local/bin/oh-my-posh
|
|
mode: "0755"
|
|
when: (dev_env__omp_check.stdout | default('') | trim) != dev_env__omp_version
|
|
|
|
- name: Oh-my-posh | Ensure theme directory
|
|
ansible.builtin.file:
|
|
path: /etc/oh-my-posh
|
|
state: directory
|
|
mode: "0755"
|
|
|
|
- name: Oh-my-posh | Deploy zen.toml theme (system-wide)
|
|
ansible.builtin.copy:
|
|
src: oh-my-posh/zen.toml
|
|
dest: /etc/oh-my-posh/zen.toml
|
|
mode: "0644"
|