From 66d7aefb12b77e428184d34f09f934f4846b6626 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Sat, 19 Aug 2023 16:46:14 -0300 Subject: [PATCH] Fixes for FreeBSD --- main.yml | 2 +- roles/freebsd/tasks/qemu-guest.yml | 1 + roles/home-cli/tasks/main.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.yml b/main.yml index c0653f5..3be5d68 100755 --- a/main.yml +++ b/main.yml @@ -19,7 +19,7 @@ path: /run/ostree-booted register: check_ostree - name: Check for WSL - ansible.builtin.shell: 'grep microsoft /proc/version || /bin/true' + ansible.builtin.shell: 'grep microsoft /proc/version || /usr//bin/true' changed_when: false register: check_wsl diff --git a/roles/freebsd/tasks/qemu-guest.yml b/roles/freebsd/tasks/qemu-guest.yml index ce95d8b..0fa15cb 100644 --- a/roles/freebsd/tasks/qemu-guest.yml +++ b/roles/freebsd/tasks/qemu-guest.yml @@ -30,3 +30,4 @@ path: /boot/loader.conf.d/utouch.conf regexp: '^utouch_load=.*' line: 'utouch_load="YES"' + create: yes diff --git a/roles/home-cli/tasks/main.yml b/roles/home-cli/tasks/main.yml index a87c37f..ee61a59 100644 --- a/roles/home-cli/tasks/main.yml +++ b/roles/home-cli/tasks/main.yml @@ -18,7 +18,7 @@ path: /run/ostree-booted register: check_ostree - name: Check for WSL - ansible.builtin.shell: 'grep microsoft /proc/version || /bin/true' + ansible.builtin.shell: 'grep microsoft /proc/version || /usr/bin/true' changed_when: false register: check_wsl