An important and helpful step before diving into any project is to assign a static IP to your VM.
This will ensure that you don’t need to check the server IP for logging in via SSH as well as don’t need frequent modifications inside automation script...