Skip to content

div-cz/div_ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

div_ansible

Make a server great again.

Table of Contents

  1. Prerequisites
  2. How to start
  3. Local Computer
  4. License

Prerequisites

Ubuntu server 23.10

  • Network connections
    • Subnet: 46.28.109.0/24
    • Adress: 46.28.109.13
  • sudo adduser name
  • sudo usermod -aG sudo name

How to start

  • sudo apt update
  • sudo apt upgrade
  • sudo apt install ansible
  • cd /home/user/.ansible
  • touch hosts
  • nano hosts
    • webservers:
    • 46.28.110.160
  • touch ansible.cfg
    • [defaults]
    • inventory = /home/divcz/.ansible/hosts
    • host_key_checking = False
    • remote_user = divcz
    • private_key_file=/home/divcz/.ssh/ansible_rsa
    • [ssh_connection]
    • ssh_args = -o ServerAliveInterval=10

Local computer

License

This project is shared under the MIT License. See LICENSE.md for details.

About

Make a server great again

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •