- dev_env .zshrc: drop the rclone alias (not installed) and guard the direnv
hook with `command -v direnv` so a missing direnv doesn't error every shell (O16)
- dev_env oh-my-posh: tag the zen.toml theme deploy `config` (it renders config to
disk like the per_user dotfiles); the include now carries packages+config so a
`--tags config` run re-renders the theme while the binary install stays packages
only (O17). Verified via `molecule converge -- --tags config`.
- drop the non-vocabulary `tags: [verify]` from molecule verify playbooks across
base/docker_host/public_dns/reverse_proxy (check-tags exempts molecule anyway) (O25)
- reverse_proxy templates: add the `{{ ansible_managed }}` header (ADR-024 §1.2) (O26)
make lint green; dev_env + reverse_proxy molecule green.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
27 lines
825 B
YAML
27 lines
825 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"
|
|
tags: [config]
|
|
|
|
- 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"
|
|
tags: [config]
|