configuring more packages
This commit is contained in:
34
tasks/pkgs/ghostty.yml
Normal file
34
tasks/pkgs/ghostty.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
---
|
||||
- name: ensure dependencies
|
||||
when: ansible_distribution == 'Fedora'
|
||||
block:
|
||||
- ansible.builtin.include_tasks:
|
||||
file: "pkgs/terra_repo.yml"
|
||||
tags:
|
||||
- dependency
|
||||
- package
|
||||
- terra
|
||||
- syspkgs
|
||||
|
||||
- name: append to pkgs
|
||||
set_fact:
|
||||
syspkgs: "{{ syspkgs + [ 'ghostty' ] }}"
|
||||
tags:
|
||||
- syspkgs
|
||||
|
||||
- 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'
|
||||
set_fact:
|
||||
caskpkgs: "{{ caskpkgs + [ 'ghostty' ] }}"
|
||||
tags:
|
||||
- MacOS
|
||||
- brew
|
||||
- package
|
||||
- terminal
|
||||
Reference in New Issue
Block a user