src build is now default on linux
This commit is contained in:
@@ -8,45 +8,46 @@
|
||||
ansible.builtin.include_tasks:
|
||||
file: config/ghostty.yml
|
||||
|
||||
- name: Source ghostty pkg installation
|
||||
- name: Append ghostty to pkg_src
|
||||
when:
|
||||
- ghostty.method == 'src'
|
||||
- ansible_distribution != 'MacOSX'
|
||||
block:
|
||||
- name: Append ghostty build deps to pkg_sys
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ghostty.build_deps }}"
|
||||
|
||||
- name: Append ghostty to pkg_src
|
||||
notify:
|
||||
- Depend zig
|
||||
changed_when: true
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ghostty.pkg }}"
|
||||
notify:
|
||||
- Depend zig
|
||||
changed_when: true
|
||||
ansible.builtin.set_fact:
|
||||
pkg_src: "{{ pkg_src + ghostty.pkg }}"
|
||||
pkg_sys: "{{ pkg_sys + ghostty.build_deps }}"
|
||||
|
||||
- name: Append ghostty to pkg_appimage
|
||||
when:
|
||||
- ghostty.method == 'appimage'
|
||||
- ansible_distribution != 'MacOSX'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_appimage: "{{ pkg_appimage + ghostty }}"
|
||||
|
||||
- name: Sys pkg installation
|
||||
- name: Install ghostty via package manager
|
||||
when:
|
||||
- ghostty.method == 'sys'
|
||||
block:
|
||||
- name: Append ghostty to pkg_sys
|
||||
- name: Enable repo for ghostty
|
||||
when:
|
||||
- ansible_distribution == 'Fedora'
|
||||
notify:
|
||||
- Depend terra repo
|
||||
changed_when: true
|
||||
ansible.builtin.get_url:
|
||||
mode: '0644'
|
||||
decompress: false
|
||||
backup: false
|
||||
url: "{{ ghostty.pkg_repo.url }}"
|
||||
dest: "{{ ghostty.pkg_repo.dest }}"
|
||||
|
||||
- name: Append ghostty to pkg_sys
|
||||
when:
|
||||
- ansible_distriubtion
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ghostty.pkg }}"
|
||||
|
||||
- name: Append ghostty to pkg_cask
|
||||
when:
|
||||
- ghostty.method == 'brew'
|
||||
- ghostty.method == 'cask'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_cask: "{{ pkg_cask + ghostty.pkg }}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user