Fixes for FreeBSD

This commit is contained in:
Anthony Rose 2023-08-19 16:46:14 -03:00
parent 8573b15a1f
commit 66d7aefb12
3 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -30,3 +30,4 @@
path: /boot/loader.conf.d/utouch.conf
regexp: '^utouch_load=.*'
line: 'utouch_load="YES"'
create: yes

View file

@ -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