feat: add the ghostty role and the desktop_aleksei host #46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/ghostty-role"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changes
roles/ghostty: installs Ghostty with the upstreammkasberg/ghostty-ubuntuinstaller and writes/root/.config/ghostty/config.ghosttyby default. The file is renderedverbatim from
ghostty_config; no generated header is added.ghosttypackage is missing. Setghostty_update: trueto run it again and pick up the latest release.clipboard/tab/split/search/window/quit bindings, and Ctrl+Enter as a literal
newline. The whole file is the
ghostty_configvariable, so a host canreplace it from
host_vars.inventory.iniandhost_vars/desktop_aleksei.yaml: the newdesktop_alekseihost atdesktop-aleksei.lan. Ansible logs in asaleksei;the host_vars carries no SSH key management.
playbooks/desktop_aleksei.yaml: runs only theghosttyrole. It enablesbecomefor the package install and writes the config to/home/aleksei/.config/ghostty/config.ghostty, owned byaleksei. No otherroles are added to this host.
playbooks/dev_aleksei.yaml: ghostty is not added there.Rollout
Converged on
desktop_aleksei. Ghostty 1.4.0 was already installed, so theinstaller was skipped; the requested config is in place (14 lines, 11 keybind
entries) with the literal
ctrl+enter=text:\n. The file is owned byaleksei:alekseiwith mode0644; the parent~/.configwas left at itsoriginal mode
0700. A second run reportschanged=0.Verification
ansible-playbook --syntax-checkpasses for bothdesktop_aleksei.yamlanddev_aleksei.yaml.dprint checkpasses.ctrl+enter=text:\nline keeps the literal backslash-n, and the file has noextra header.
$XDG_CONFIG_HOME/ghostty/config.ghosttyis the current name.feat: add the ghostty roleto feat: add the ghostty role and the desktop_aleksei host