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

View File

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

View File

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

View File

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

View File

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

View File

@@ -4,6 +4,10 @@
when: when:
- hyprland_protcols_configured is undefined - hyprland_protcols_configured is undefined
block: block:
- name: Set hyprland_protcols_configured
ansible.builtin.set_fact:
hyprland_protcols_configured: true
- name: Load hyprland-protocols config - name: Load hyprland-protocols config
when: when:
- hyprland_protocols is undefined - hyprland_protocols is undefined
@@ -14,7 +18,3 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}" pkg_sys: "{{ pkg_sys + hyprland_protocols.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprland_protocols'] }}" 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 - name: Add hyprlang
when: when:
- hyprlang_configured - hyprlang_configured is undefined
block: block:
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true
- name: Load hyprlang config - name: Load hyprlang config
when: when:
- hyprlang is undefined - hyprlang is undefined
@@ -23,7 +27,3 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}" pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprlang'] }}" pkg_src: "{{ pkg_src + ['hyprlang'] }}"
- name: Set hyprlang_configured
ansible.builtin.set_fact:
hyprlang_configured: true

View File

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

View File

@@ -4,6 +4,10 @@
when: when:
- hyprwayland_scanner_configured is undefined - hyprwayland_scanner_configured is undefined
block: block:
- name: Set hyprwayland_scanner_configured
ansible.builtin.set_fact:
hyprwayland_scanner_configured: true
- name: Load hyprwayland-scanner config - name: Load hyprwayland-scanner config
when: when:
- hyprwayland_scanner is undefined - hyprwayland_scanner is undefined
@@ -16,7 +20,3 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}" pkg_sys: "{{ pkg_sys + hyprwayland_scanner.build_deps }}"
pkg_src: "{{ pkg_src + ['hyprwayland_scanner'] }}" 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: when:
- uwsm_configured is undefined - uwsm_configured is undefined
block: block:
- name: Set uwsm_configured
ansible.builtin.set_fact:
uwsm_configured: true
- name: Load uwsm config - name: Load uwsm config
when:
- uwsm is undefined
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/uwsm.yml file: config/uwsm.yml
@@ -12,7 +18,3 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + uwsm.build_deps + uswm.deps }}" pkg_sys: "{{ pkg_sys + uwsm.build_deps + uswm.deps }}"
pkg_src: "{{ pkg_src + ['uwsm'] }}" pkg_src: "{{ pkg_src + ['uwsm'] }}"
- name: Set uwsm_configured
ansible.builtin.set_fact:
uwsm_configured: true

View File

@@ -4,6 +4,10 @@
when: when:
- xdg_desktop_portal_hyprland_configured is undefined - xdg_desktop_portal_hyprland_configured is undefined
block: 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 - name: Load xdg-desktop-portal-hyprland config
when: when:
- xdg_desktop_portal_hyprland is undefined - xdg_desktop_portal_hyprland is undefined
@@ -23,7 +27,3 @@
ansible.builtin.set_fact: ansible.builtin.set_fact:
pkg_sys: "{{ pkg_sys + xdg_desktop_portal_hyprland.build_deps }}" pkg_sys: "{{ pkg_sys + xdg_desktop_portal_hyprland.build_deps }}"
pkg_src: "{{ pkg_src + ['xdg_desktop_portal_hyprland'] }}" 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 : # vim: set filetype=yaml.ansible :
--- ---
- name: Add hashicorp - name: Load hashicorp repo config
when:
- hashicorp_configured is undefined
block:
- name: Load hashicorp repo config
ansible.builtin.include_tasks: ansible.builtin.include_tasks:
file: config/hashicorp.yml file: config/hashicorp.yml
- name: RedHat repository - name: RedHat repository
when: when:
- ansible_os_family == 'RedHat' - ansible_os_family == 'RedHat'
block: block:
@@ -19,7 +15,7 @@
dest: /etc/yum.repos.d/hashicorp.repo dest: /etc/yum.repos.d/hashicorp.repo
mode: '0644' mode: '0644'
- name: Debian based repository - name: Debian based repository
when: when:
- ansible_os_family == 'Debian' - ansible_os_family == 'Debian'
block: block:
@@ -46,12 +42,8 @@
state: present state: present
update_cache: false update_cache: false
- name: MacOS specific configuration - name: MacOS specific configuration
when: when:
- ansible_distribution == 'MacOSX' - ansible_distribution == 'MacOSX'
ansible.builtin.set_fact: ansible.builtin.set_fact:
brewtap: "{{ brewtap + ['hashicorp/tap'] }}" 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 : # vim: set filetype=yaml.ansible :
--- ---
- name: Add terra - name: Enable terra repo for fedora
when:
- terra_configured is undefined
block:
- name: Enable terra repo for fedora
when: when:
- ansible_distribution == 'Fedora' - ansible_distribution == 'Fedora'
block: block:
@@ -27,7 +23,3 @@
ansible.builtin.dnf: ansible.builtin.dnf:
name: terra-release name: terra-release
state: present state: present
- name: Set terra_configured
ansible.builtin.set_fact:
terra_configured: true