diff --git a/tasks/proxmox.yml b/tasks/proxmox.yml index 99a4669..2d94e5e 100644 --- a/tasks/proxmox.yml +++ b/tasks/proxmox.yml @@ -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'