fix remaining packages
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
|||||||
@@ -1,57 +1,49 @@
|
|||||||
# vim: set filetype=yaml.ansible :
|
# vim: set filetype=yaml.ansible :
|
||||||
---
|
---
|
||||||
- name: Add hashicorp
|
- name: Load hashicorp repo config
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: config/hashicorp.yml
|
||||||
|
|
||||||
|
- name: RedHat repository
|
||||||
when:
|
when:
|
||||||
- hashicorp_configured is undefined
|
- ansible_os_family == 'RedHat'
|
||||||
block:
|
block:
|
||||||
- name: Load hashicorp repo config
|
- name: Enable hashicorp repo
|
||||||
ansible.builtin.include_tasks:
|
become: true
|
||||||
file: config/hashicorp.yml
|
ansible.builtin.get_url:
|
||||||
|
url: "{{ hashicorp.repo }}"
|
||||||
|
dest: /etc/yum.repos.d/hashicorp.repo
|
||||||
|
mode: '0644'
|
||||||
|
|
||||||
- name: RedHat repository
|
- name: Debian based repository
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == 'RedHat'
|
- ansible_os_family == 'Debian'
|
||||||
block:
|
block:
|
||||||
- name: Enable hashicorp repo
|
- name: Get hashicorp archive gpg key
|
||||||
become: true
|
ansible.builtin.get_url:
|
||||||
ansible.builtin.get_url:
|
dest: "{{ d_tempdir.path }}/hashicorp_gpg"
|
||||||
url: "{{ hashicorp.repo }}"
|
url: https://apt.releases.hashicorp.com/gpg
|
||||||
dest: /etc/yum.repos.d/hashicorp.repo
|
mode: '0644'
|
||||||
mode: '0644'
|
|
||||||
|
|
||||||
- name: Debian based repository
|
- name: Install hashicorp archive gpg key
|
||||||
when:
|
become: true
|
||||||
- ansible_os_family == 'Debian'
|
ansible.builtin.command:
|
||||||
block:
|
creates: /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
||||||
- name: Get hashicorp archive gpg key
|
cmd:
|
||||||
ansible.builtin.get_url:
|
- gpg
|
||||||
dest: "{{ d_tempdir.path }}/hashicorp_gpg"
|
- --dearmor
|
||||||
url: https://apt.releases.hashicorp.com/gpg
|
- -o
|
||||||
mode: '0644'
|
- /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
||||||
|
- "{{ d_tempdir.path }}/hashicorp_gpg"
|
||||||
|
|
||||||
- name: Install hashicorp archive gpg key
|
- name: Enable hasicorp repo for debian
|
||||||
become: true
|
ansible.builtin.apt_repository:
|
||||||
ansible.builtin.command:
|
repo: "{{ pkgconfig.hashicorp.Linux.Debian.repo }}"
|
||||||
creates: /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
state: present
|
||||||
cmd:
|
update_cache: false
|
||||||
- gpg
|
|
||||||
- --dearmor
|
|
||||||
- -o
|
|
||||||
- /usr/share/keyrings/hashicorp-archive-keyring.gpg
|
|
||||||
- "{{ d_tempdir.path }}/hashicorp_gpg"
|
|
||||||
|
|
||||||
- name: Enable hasicorp repo for debian
|
- name: MacOS specific configuration
|
||||||
ansible.builtin.apt_repository:
|
when:
|
||||||
repo: "{{ pkgconfig.hashicorp.Linux.Debian.repo }}"
|
- ansible_distribution == 'MacOSX'
|
||||||
state: present
|
ansible.builtin.set_fact:
|
||||||
update_cache: false
|
brewtap: "{{ brewtap + ['hashicorp/tap'] }}"
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|||||||
@@ -1,33 +1,25 @@
|
|||||||
# vim: set filetype=yaml.ansible :
|
# vim: set filetype=yaml.ansible :
|
||||||
---
|
---
|
||||||
- name: Add terra
|
- name: Enable terra repo for fedora
|
||||||
when:
|
when:
|
||||||
- terra_configured is undefined
|
- ansible_distribution == 'Fedora'
|
||||||
block:
|
block:
|
||||||
- name: Enable terra repo for fedora
|
- name: Enable terra repo for fedora >=41
|
||||||
when:
|
become: true
|
||||||
- ansible_distribution == 'Fedora'
|
when: ansible_distribution_major_version|int >= 41
|
||||||
block:
|
ansible.builtin.command:
|
||||||
- name: Enable terra repo for fedora >=41
|
creates: /etc/yum.repos.d/terra.repo
|
||||||
become: true
|
cmd: "dnf config-manager addrepo --from-repofile={{ pkgconfig.terrarepo.repo }}"
|
||||||
when: ansible_distribution_major_version|int >= 41
|
|
||||||
ansible.builtin.command:
|
|
||||||
creates: /etc/yum.repos.d/terra.repo
|
|
||||||
cmd: "dnf config-manager addrepo --from-repofile={{ pkgconfig.terrarepo.repo }}"
|
|
||||||
|
|
||||||
- name: Enable terra repo for fedora < 41
|
- name: Enable terra repo for fedora < 41
|
||||||
become: true
|
become: true
|
||||||
when: ansible_distribution_major_version|int < 41
|
when: ansible_distribution_major_version|int < 41
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
creates: /etc/yum.repos.d/terra.repo
|
creates: /etc/yum.repos.d/terra.repo
|
||||||
cmd: "dnf config-manager --add-repo {{ pkgconfig.terrarepo.repo }}"
|
cmd: "dnf config-manager --add-repo {{ pkgconfig.terrarepo.repo }}"
|
||||||
|
|
||||||
- name: Install terra release package
|
- name: Install terra release package
|
||||||
become: true
|
become: true
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user