more fixs being done
This commit is contained in:
@@ -1,8 +1,24 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
version: v1.0.1
|
||||
optimize: ReleaseFast
|
||||
build: false
|
||||
dobecome: true
|
||||
owner: root
|
||||
group: root
|
||||
- name: Set ghostty install method
|
||||
ansible.builtin.set_fact:
|
||||
ghostty:
|
||||
method: "{{ pkgconfig.ghostty.method[ansible_distribution] | default(pkgconfig.ghostty.method.default) }}"
|
||||
|
||||
- name: Set ghostty config
|
||||
ansible.builtin.set_fact:
|
||||
ghostty:
|
||||
arch: "{{ pkgconfig.ghostty.archmap[ansible_architecture] }}"
|
||||
deps: "{{ pkgconfig.ghostty.build_deps[ansible_os_family] }}"
|
||||
vers: "{{ pkgconfig.ghostty.version }}"
|
||||
pkg: "{{ pkgconfig.ghosty[ghostty.method] }}"
|
||||
|
||||
- name: Set ghostty config for appimage install
|
||||
when:
|
||||
- ghostty.method == 'appimage'
|
||||
ansible.builtin.set_fact:
|
||||
ghostty:
|
||||
method: appimage
|
||||
file: "Ghostty-{{ ghostty.vers }}-{{ ghostty.arch }}.AppImage"
|
||||
link_name: "{{ pkgconfig.ghostty.appimage.link_name }}"
|
||||
url: "{{ pkgconfig.ghostty.appimage.base_url }}/v{{ ghostty.vers }}/Ghostty-{{ ghostty.vers }}-{{ ghostty.arch }}.AppImage"
|
||||
|
||||
Reference in New Issue
Block a user