The deployment fails if the setup.sh is still running while the remote-exec is executed, which will be checked. As in this case the groups won't be updated we would need to make the ubuntu user owner of the docker socket, as newgrp docker can't be executed by the ubuntu user and a reboot would introduce too much overhead.
The deployment fails if the setup.sh is still running while the remote-exec is executed, which will be checked. As in this case the groups won't be updated we would need to make the ubuntu user owner of the docker socket, as
newgrp docker
can't be executed by the ubuntu user and a reboot would introduce too much overhead.