I'll try to be as simple as i possibly can. I'm in quite a pickle.
See, i'm currently a student of a DevOps course. Too bad, our professor gives little to no theory knowledge. Honestly, it is kind to call him professor. All he does is giving us links to tutorials and saying "do them". Problem is, by doing this i understood little to nothing and so now i need some help on doing some specific exercises in order to pass.
From what i got, this is what our teacher wants us to do:
Install in VirtualBox a Ubuntu 22.04 Server LTS.
Configure it so that it can work as OpenSSH Server
Install Ansible
Connect the Windows machine as client to the Ubuntu virtual machine
using Ansible
Test connectivity with pings
And....the problem is that without any explanation on a theory and practical level, i can't really get what i need to do. I found MANY guides online to install openssh, and many to install ansible, but i always miss the missing links between them all.
For example. I have the newly installed Ubuntu 22.04 Server.....am i stupid at asking : ok, but doesn't a server have an IP Address to pass to SSH configuration? Should i configure a Static IP Address and give it to SSH? Is that the Address i should later use to connect from Windows?
I know i'm being very vague, but that's exactly why i'm asking. I have knowledge of IP Addresses and so on from previous courses, but without a hands-on explanation, meaning that setup and things like that are new to me.
From what i understand, i have to setup an IP for the Ubuntu Server, install SSH Server using that IP, Install ansible on both devices (the virtual machine and the actual windows machine) and then connect em.
And i kinda need a step by step HOW for all of this.