Linux/Virtual Server Setup Guide with Ansible: Difference between revisions

From Wiki
mNo edit summary
mNo edit summary
Line 7: Line 7:
sudo apt-add-repository ppa:ansible/ansible
sudo apt-add-repository ppa:ansible/ansible
sudo apt install ansible
sudo apt install ansible
</pre>
</blockquote>
* Get repository with Ansible files:
<blockquote>
<pre>
git clone https://{ansible-library}
cd ansible-library
</pre>
</pre>
</blockquote>
</blockquote>
Line 29: Line 22:


== Step  4: ==
== Step  4: ==
* Get repository with Ansible files:
<blockquote>
<pre>
git clone https://{ansible-library}
cd ansible-library
</pre>
</blockquote>
[[Category:Linux/Deployment]]
[[Category:Linux/Deployment]]
[[Category:Linux]]
[[Category:Linux]]

Revision as of 09:06, 21 November 2023

Step 1: Prepare local linux terminal

  • Install Windows Subsystem for Linux / Ubuntu
  • 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
  • Information required for next steps:
    • IP of VM
    • username / password

Step 3: Adjust DNS entries

  • Make sure the desired DNS entries point to the (new?) IP of the VM

Step 4:

  • Get repository with Ansible files:
git clone https://{ansible-library}
cd ansible-library