Linux/Virtual Server Setup Guide with Ansible: Difference between revisions
< Linux
mNo edit summary |
|||
Line 13: | Line 13: | ||
* Install latest Ubuntu LTS | * Install latest Ubuntu LTS | ||
* Set username / password | * Set username / password | ||
* | * Write down information required for next steps: | ||
** IP | ** VM IP | ||
** username / password | ** VM username / password | ||
== Step 3: Adjust DNS entries == | == Step 3: Adjust DNS entries == |
Revision as of 09:08, 21 November 2023
Step 1: Prepare local linux terminal
- Install Windows Subsystem for Linux / Ubuntu
- Open local linux terminal
- Install Ansible:
sudo apt -y install software-properties-common sudo apt-add-repository ppa:ansible/ansible sudo apt install ansible
Step 2: Generate Cloud VM (Hetzner, Netcup,...)
- Install latest Ubuntu LTS
- Set username / password
- Write down information required for next steps:
- VM IP
- VM username / password
Step 3: Adjust DNS entries
- Make sure the desired DNS entries point to the (new?) IP of the VM
Step 4: Set up VM with ansible
- Open local linux terminal
- Get repository with Ansible files:
git clone https://{ansible-library} cd ansible-library