refactor ♻️: Refactor uninstall script task to use ansible.builtin.shell instead of ansible.builtin.command
Updated the uninstall script task to use `ansible.builtin.shell` for better command execution and flexibility.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
mode: '0755' # Make it executable
|
||||
|
||||
- name: Run uninstall script
|
||||
ansible.builtin.command: bash /tmp/pve-mod-gui-sensors.sh uninstall
|
||||
ansible.builtin.shell: bash /tmp/pve-mod-gui-sensors.sh uninstall
|
||||
ignore_errors: true
|
||||
|
||||
- name: Wait for Proxmox Web GUI to be up
|
||||
|
||||
Reference in New Issue
Block a user