properly strip patches

This commit is contained in:
Matthew Stobbs
2025-03-12 15:22:35 -06:00
parent 4fe32cbdf5
commit 37205d134e
7 changed files with 12 additions and 3 deletions

View File

@@ -32,6 +32,7 @@
basedir: "{{ aquamarine.git_path }}"
src: aquamarine/Alpine.patch
state: present
strip: 1
- name: Configure aquamarine
ansible.builtin.command:

View File

@@ -31,6 +31,7 @@
basedir: "{{ hypridle.git_path }}"
src: hypridle/cmakelists.patch
state: present
strip: 1
- name: Configure hypridle
ansible.builtin.command:

View File

@@ -31,6 +31,7 @@
basedir: "{{ hyprlock.git_path }}"
src: hyprlock/cmakelists.patch
state: present
strip: 1
- name: Configure hyprlock
ansible.builtin.command:

View File

@@ -25,12 +25,14 @@
repo: "{{ nwg_hello.git_repo }}"
version: "{{ nwg_hello.vers }}"
- name: Apply patch if it exists for {{ ansible_os_family }}
ignore_failures: true
- name: Apply patch Alpine linux
when:
- ansible_os_family == 'Alpine'
ansible.posix.patch:
basedir: "{{ nwg_hello.git_path }}"
src: nwg-hello/{{ ansible_os_family }}.patch
src: nwg-hello/Alpine.patch
state: present
strip: 1
- name: Install nwg-hello
become: true