fix hyprland and go installs
This commit is contained in:
@@ -16,6 +16,14 @@
|
|||||||
- (do_go_install is defined and do_go_install) or
|
- (do_go_install is defined and do_go_install) or
|
||||||
not stat_path_go.stat.exists
|
not stat_path_go.stat.exists
|
||||||
block:
|
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
|
- name: Download go archive
|
||||||
register: get_url_go
|
register: get_url_go
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
|
|||||||
@@ -9,7 +9,14 @@
|
|||||||
state: absent
|
state: absent
|
||||||
path: "{{ path.prefix }}/{{ file }}"
|
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
|
- name: Build and install hyprland
|
||||||
|
when:
|
||||||
|
- not stat_hyprland_bin.stat.exists
|
||||||
block:
|
block:
|
||||||
- name: Clone git repository
|
- name: Clone git repository
|
||||||
ansible.builtin.git:
|
ansible.builtin.git:
|
||||||
|
|||||||
Reference in New Issue
Block a user