1 | initial version |
Hello,
In order to achieve your goal, you need to make your scripts idempotent. In your case, idempotency means that the scripts need to check for the goal state and perform the installation and the reboot if the state is not achieved or do nothing if the state is achieved.
Thank you,
Adrian Vladu