src build is now default on linux

This commit is contained in:
Matthew Stobbs
2025-03-17 11:37:16 -06:00
parent bfd3afd353
commit 855ff0795f
3 changed files with 36 additions and 20 deletions

View File

@@ -6,6 +6,8 @@
method: "{{ pkgconfig.ghostty.methods[ansible_distribution] | default(pkgconfig.ghostty.methods.default) }}"
- name: Set ghostty config
when:
- ghostty.method == 'src'
ansible.builtin.set_fact:
ghostty:
method: "{{ ghostty.method }}"
@@ -17,6 +19,16 @@
build_deps: "{{ pkgconfig.ghostty.build_deps[ansible_os_family] }}"
optimize: "{{ pkgconfig.ghostty.optimize }}"
- name: Set ghostty package manager install
when:
- ghostty.method == 'sys' or
ghostty.method == 'cask'
ansible.builtin.set_fact:
ghostty:
method: "{{ ghostty.method }}"
pkg: "{{ pkconfig.ghostty[ghostty.method] }}"
pkg_repo: "{{ pkgconfig.ghostty.pkg_repo[ansible_distribution] | default(omit) }}"
- name: Set ghostty config for appimage install
when:
- ghostty.method == 'appimage'