fix broken packages

- standardize naming of each pkg append
- move _configured vars to end of block
This commit is contained in:
Matthew Stobbs
2025-03-09 21:48:11 -06:00
parent f22b5c1c4e
commit aff4fddfb4
114 changed files with 262 additions and 239 deletions

View File

@@ -8,31 +8,34 @@
ansible.builtin.include_tasks:
file: config/ghostty.yml
- name: Source pkg installation
- name: Source ghostty pkg installation
when:
- ghostty.method == 'src'
- ansible_distribution != 'MacOSX'
block:
- name: Build ghostty from source
- name: Append ghostty build deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
- name: Append ghostty to pkg_src
notify:
- Depend zig
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
pkg_src: "{{ pkg_src + ['ghostty'] }}"
- name: Appimage installation
- name: Append ghostty to pkg_appimage
when:
- ghostty.method == 'appimage'
- ansible_distribution != 'MacOSX'
ansible.builtin.set_fact:
pkg_appimage: "{{ pkg_appimage + ghostty_vars.appimage }}"
pkg_appimage: "{{ pkg_appimage + ghostty }}"
- name: Sys pkg installation
when:
- ghostty.method == 'sys'
block:
- name: Append to pkgs
- name: Append ghostty to pkg_sys
when:
- ansible_distribution == 'Fedora'
notify:
@@ -41,7 +44,7 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"
- name: Cask pkg installation
- name: Append ghostty to pkg_cask
when:
- ghostty.method == 'brew'
ansible.builtin.set_fact: