adding Alpine specific installations

This commit is contained in:
Matthew Stobbs
2025-03-10 14:53:36 -06:00
parent aff4fddfb4
commit 51d97dd18f
32 changed files with 178 additions and 38 deletions

View File

@@ -12,12 +12,15 @@
when:
- ansible_system == 'Linux'
block:
- name: Append alacritty to pkg_sys and pkg_cargo
- name: Append alacritty build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty.build_deps }}"
- name: Append alacritty to pkg_cargo
notify:
- Depend cargo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + alacritty.deps }}"
pkg_cargo: "{{ pkg_cargo + [alacritty] }}"
- name: Append alacritty to pkg_cask

View File

@@ -15,14 +15,14 @@
block:
- name: Append ghostty build deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ghostty.deps }}"
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_src: "{{ pkg_src + [ghostty.pkg] }}"
- name: Append ghostty to pkg_appimage
when:
@@ -42,13 +42,13 @@
- Depend terra repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + ['ghostty'] }}"
pkg_sys: "{{ pkg_sys + [ghostty.pkg] }}"
- name: Append ghostty to pkg_cask
when:
- ghostty.method == 'brew'
ansible.builtin.set_fact:
pkg_cask: "{{ pkg_cask + ['ghostty'] }}"
pkg_cask: "{{ pkg_cask + [ghostty.pkg] }}"
- name: Set ghostty_configured
ansible.builtin.set_fact:

View File

@@ -17,12 +17,19 @@
- name: Append packer to pkg_sys
when:
- ansible_system == 'Linux'
- ansible_os_family != 'Alpine'
notify:
- Depend hashicorp repo
changed_when: true
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + packer.pkgs }}"
- name: Append packer to pkg_archive
when:
- ansible_os_family == 'Alpine'
ansible.builtin.set_fact:
pkg_archive: "{{ pkg_archive + ['packer'] }}"
- name: Set packer_configured
ansible.builtin.set_fact:
packer_configured: true

View File

@@ -3,16 +3,16 @@
- name: Add uwsm
when:
- uwsm_configured is undefined
- ansible_os_family != 'Alpine'
- ansible_os_family != 'Darwin'
block:
- name: Load uwsm config
when:
- uwsm is undefined
ansible.builtin.include_tasks:
file: config/uwsm.yml
- name: Append uwsm build_deps to pkg_sys
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + uwsm.build_deps + uswm.deps }}"
pkg_sys: "{{ pkg_sys + uwsm.build_deps + uwsm.deps }}"
- name: Append uwsm to pkg_src
ansible.builtin.set_fact: