fix hyprland and go installs

This commit is contained in:
Matthew Stobbs
2025-03-02 11:24:47 -07:00
parent 5cd724ca0c
commit 3bb638cc9f
2 changed files with 15 additions and 0 deletions

View File

@@ -16,6 +16,14 @@
- (do_go_install is defined and do_go_install) or
not stat_path_go.stat.exists
block:
- name: Remove existing go install
when:
- ansible_system == 'Linux'
become: "{{ ext_become }}"
ansible.builtin.file:
state: absent
path: "{{ path.go }}"
- name: Download go archive
register: get_url_go
ansible.builtin.get_url:

View File

@@ -9,7 +9,14 @@
state: absent
path: "{{ path.prefix }}/{{ file }}"
- name: Check if hyprland is installed
register: stat_hyprland_bin
ansible.builtin.stat:
path: "{{ path.bin }}/Hyprland"
- name: Build and install hyprland
when:
- not stat_hyprland_bin.stat.exists
block:
- name: Clone git repository
ansible.builtin.git: