refactor ♻️: Rename task to 'Run uninstall script' and update command

Refactored the task name and updated the associated command for clarity and consistency.
This commit is contained in:
2025-12-16 19:25:16 +01:00
parent 7854c4f95c
commit ae2af0ce6c

View File

@@ -29,13 +29,13 @@
mode: "0755"
remote_src: yes
- name: Run script with predefined input
- name: Run uninstall script
ansible.builtin.shell: |
printf "a\nC\nN\n2\n" | /usr/local/bin/pve-mod-gui-sensors.sh
/usr/local/bin/pve-mod-gui-sensors.sh uninstall
- name: Run pve-mod-gui-sensors script with predefined answers (once)
- name: Run pve-mod-gui-sensors script with predefined answers
expect:
command: /usr/local/src/pve-mod-gui-sensors.sh
command: /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'