So I am using the silent mode (--silent) for the enable-usb-sync.sh script.
But this results in an error for ansible, because the ssh connection is lost "during" the execution of the script.
Describe the solution you'd like
A solution could be a new parameter to disable the automatic reboot. (opt out)
Or a parameter to enable reboot in silent mode (opt in)
One could argue the silent mode is intended to be run from a script.
Meaning the user could manually add a reboot command in the script if necessary. 😉
Describe alternatives you've considered
I guess I will alter the script via Ansible to disable the reboot as a workaround.
Then execute the reboot via Ansible.
Is your feature request related to a problem?
No
Description
I am setting up my system via Ansible.
So I am using the silent mode (
--silent
) for theenable-usb-sync.sh
script.But this results in an error for ansible, because the ssh connection is lost "during" the execution of the script.
Describe the solution you'd like
A solution could be a new parameter to disable the automatic reboot. (opt out) Or a parameter to enable reboot in silent mode (opt in)
One could argue the silent mode is intended to be run from a script. Meaning the user could manually add a
reboot
command in the script if necessary. 😉Describe alternatives you've considered
I guess I will alter the script via Ansible to disable the reboot as a workaround. Then execute the reboot via Ansible.
Additional context
No response