refactor ♻️: Refactor uninstall/install scripts to use bash
Updated the uninstall and install scripts to use bash for better compatibility across different environments.
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
remote_src: yes
|
||||
|
||||
- name: Run uninstall script
|
||||
ansible.builtin.command: /usr/local/bin/pve-mod-gui-sensors.sh uninstall
|
||||
ansible.builtin.command: bash /usr/local/bin/pve-mod-gui-sensors.sh uninstall
|
||||
ignore_errors: true
|
||||
when: pve_mod_gui_sensors_installed | default(false)
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
- name: Run pve-mod-gui-sensors script with predefined answers
|
||||
expect:
|
||||
command: /usr/local/src/pve-mod-gui-sensors.sh install
|
||||
command: bash /usr/local/src/pve-mod-gui-sensors.sh install
|
||||
responses:
|
||||
'Display temperatures for all cores \[C\] or average per CPU \[a\].*\(C/a\):.*': 'a'
|
||||
'Display temperatures in Celsius \[C\] or Fahrenheit \[f\].*\(C/f\):.*': 'c'
|
||||
|
||||
Reference in New Issue
Block a user