fix remaining packages

This commit is contained in:
Matthew Stobbs
2025-03-03 12:15:05 -07:00
parent 2ce49c9b85
commit ea9e524cf9
13 changed files with 108 additions and 122 deletions

View File

@@ -4,7 +4,11 @@
when:
- aquamarine_configured is undefined
block:
- name: Load hyprland config
- name: Set aquamarine_configured
ansible.builtin.set_fact:
aquamarine_configured: true
- name: Load aquamarine config
when:
- aquamarine is undefined
ansible.builtin.include_tasks:
@@ -23,7 +27,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + aquamarine.build_deps }}"
pkg_src: "{{ pkg_src + ['aquamarine'] }}"
- name: Set aquamarine_configured
ansible.builtin.set_fact:
aquamarine_configured: true

View File

@@ -4,6 +4,10 @@
when:
- git_configured is undefined
block:
- name: Set git_configured
ansible.builtin.set_fact:
git_configured: true
- name: Load git config
ansible.builtin.include_tasks:
file: config/git.yml
@@ -11,7 +15,3 @@
- name: Append to pkgs
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + git.pkgs }}"
- name: Set git_configured
ansible.builtin.set_fact:
git_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprcursor_configured is undefined
block:
- name: Set hyprcursor_configured
ansible.builtin.set_fact:
hyprcursor_configured: true
- name: Load hyprcursor config
when:
- hyprcursor is undefined
@@ -14,7 +18,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprcursor.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprcursor'] }}"
- name: Set hyprcursor_configured
ansible.builtin.set_fact:
hyprcursor_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprgraphics_configured is undefined
block:
- name: Set hyprgraphics_configured
ansible.builtin.set_fact:
hyprgraphics_configured: true
- name: Load hyprgraphics config
when:
- hyprgraphics is undefined
@@ -14,7 +18,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprgraphics.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprgraphics'] }}"
- name: Set hyprgraphics_configured
ansible.builtin.set_fact:
hyprgraphics_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprland_configured is undefined
block:
- name: Set hyprland_configured
ansible.builtin.set_fact:
hyprland_configured: true
- name: Load hyprland config
when:
- hyprland is undefined
@@ -23,7 +27,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprland'] }}"
- name: Set hyprland_configured
ansible.builtin.set_fact:
hyprland_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprland_protcols_configured is undefined
block:
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true
- name: Load hyprland-protocols config
when:
- hyprland_protocols is undefined
@@ -14,7 +18,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}"
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true

View File

@@ -2,8 +2,12 @@
---
- name: Add hyprlang
when:
- hyprlang_configured
- hyprlang_configured is undefined
block:
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true
- name: Load hyprlang config
when:
- hyprlang is undefined
@@ -23,7 +27,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprlang'] }}"
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprutils_configured is undefined
block:
- name: Set hyprutils_configured
ansible.builtin.set_fact:
hyprutils_configured: true
- name: Load hyprutils config
when:
- hyprutils is undefined
@@ -14,7 +18,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprutils.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprutils'] }}"
- name: Set hyprutils_configured
ansible.builtin.set_fact:
hyprutils_configured: true

View File

@@ -4,6 +4,10 @@
when:
- hyprwayland_scanner_configured is undefined
block:
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true
- name: Load hyprwayland-scanner config
when:
- hyprwayland_scanner is undefined
@@ -16,7 +20,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}"
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true

View File

@@ -4,7 +4,13 @@
when:
- uwsm_configured is undefined
block:
- name: Set uwsm_configured
ansible.builtin.set_fact:
uwsm_configured: true
- name: Load uwsm config
when:
- uwsm is undefined
ansible.builtin.include_tasks:
file: config/uwsm.yml
@@ -12,7 +18,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + uwsm.build_deps + uswm.deps }}"
pkg_src: "{{ pkg_src + ['uwsm'] }}"
- name: Set uwsm_configured
ansible.builtin.set_fact:
uwsm_configured: true

View File

@@ -4,6 +4,10 @@
when:
- xdg_desktop_portal_hyprland_configured is undefined
block:
- name: Set xdg_desktop_portal_hyprland_configured
ansible.builtin.set_fact:
xdg_desktop_portal_hyprland_configured: true
- name: Load xdg-desktop-portal-hyprland config
when:
- xdg_desktop_portal_hyprland is undefined
@@ -23,7 +27,3 @@
ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + xdg_desktop_portal_hyprland.build_deps }}"
pkg_src: "{{ pkg_src + ['xdg_desktop_portal_hyprland'] }}"
- name: Set xdg_desktop_portal_hyprland_configured
ansible.builtin.set_fact:
xdg_desktop_portal_hyprland_configured: true

View File

@@ -1,14 +1,10 @@
# vim: set filetype=yaml.ansible :
---
- name: Add hashicorp
when:
- hashicorp_configured is undefined
block:
- name: Load hashicorp repo config
- name: Load hashicorp repo config
ansible.builtin.include_tasks:
file: config/hashicorp.yml
- name: RedHat repository
- name: RedHat repository
when:
- ansible_os_family == 'RedHat'
block:
@@ -19,7 +15,7 @@
dest: /etc/yum.repos.d/hashicorp.repo
mode: '0644'
- name: Debian based repository
- name: Debian based repository
when:
- ansible_os_family == 'Debian'
block:
@@ -46,12 +42,8 @@
state: present
update_cache: false
- name: MacOS specific configuration
- name: MacOS specific configuration
when:
- ansible_distribution == 'MacOSX'
ansible.builtin.set_fact:
brewtap: "{{ brewtap + ['hashicorp/tap'] }}"
- name: Set hashicorp_configured
ansible.builtin.set_fact:
hashicorp_configured: true

View File

@@ -1,10 +1,6 @@
# vim: set filetype=yaml.ansible :
---
- name: Add terra
when:
- terra_configured is undefined
block:
- name: Enable terra repo for fedora
- name: Enable terra repo for fedora
when:
- ansible_distribution == 'Fedora'
block:
@@ -27,7 +23,3 @@
ansible.builtin.dnf:
name: terra-release
state: present
- name: Set terra_configured
ansible.builtin.set_fact:
terra_configured: true