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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user