Fixes for FreeBSD
This commit is contained in:
parent
8573b15a1f
commit
66d7aefb12
3 changed files with 3 additions and 2 deletions
2
main.yml
2
main.yml
|
@ -19,7 +19,7 @@
|
||||||
path: /run/ostree-booted
|
path: /run/ostree-booted
|
||||||
register: check_ostree
|
register: check_ostree
|
||||||
- name: Check for WSL
|
- 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
|
changed_when: false
|
||||||
register: check_wsl
|
register: check_wsl
|
||||||
|
|
||||||
|
|
|
@ -30,3 +30,4 @@
|
||||||
path: /boot/loader.conf.d/utouch.conf
|
path: /boot/loader.conf.d/utouch.conf
|
||||||
regexp: '^utouch_load=.*'
|
regexp: '^utouch_load=.*'
|
||||||
line: 'utouch_load="YES"'
|
line: 'utouch_load="YES"'
|
||||||
|
create: yes
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
path: /run/ostree-booted
|
path: /run/ostree-booted
|
||||||
register: check_ostree
|
register: check_ostree
|
||||||
- name: Check for WSL
|
- 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
|
changed_when: false
|
||||||
register: check_wsl
|
register: check_wsl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue