Skip to content

Commit

Permalink
[mark2] Reboot required
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed Jul 6, 2024
1 parent 9614d39 commit c1f033f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions ansible/roles/ovos_hardware_mark2/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@
daemon_reload: true
scope: user

- name: Load Module
- name: Run Depmod
ansible.builtin.command:
cmd: |
depmod -a {{ ansible_kernel }}
modprobe -v vocalfusion-soundcard
changed_when: false

- name: Set Reboot
ansible.builtin.set_fact:
ovos_installer_reboot: true
5 changes: 3 additions & 2 deletions ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@
owner: root
group: root
mode: "0644"
notify: Load Module
notify:
- Run Depmod
- Set Reboot

- name: Create /etc/modules-load.d/vocalfusion.conf file
ansible.builtin.copy:
Expand Down Expand Up @@ -108,7 +110,6 @@
ansible.builtin.systemd_service:
name: sj201.service
enabled: true
state: started
force: true
scope: user

Expand Down

0 comments on commit c1f033f

Please sign in to comment.