Files
ansible_role_package/tasks/pkgs/ghostty.yml
Matthew Stobbs 391e8ee226 fixing packages
2025-01-25 17:54:26 -07:00

24 lines
659 B
YAML

---
- name: ensure dependencies
when: ansible_distribution == 'Fedora'
block:
- ansible.builtin.include_tasks:
file: "pkgs/terra_repo.yml"
when: pkgconfig_terrarepo is not defined
- name: append to pkgs
ansible.builtin.set_fact:
syspkgs: "{{ syspkgs + [ 'ghostty' ] }}"
- name: no ghostty for this system
when:
- ansible_distribution != 'Fedora'
- ansible_system == 'Linux'
debug:
msg: ghostty cannot be installed this way for your distribution
- name: append ghostty to caskpkgs
when: ansible_distribution == 'MacOSX'
ansible.builtin.set_fact:
caskpkgs: "{{ caskpkgs + [ 'ghostty' ] }}"