- This is a great tool for managing local virtual machines to mimic real world infrastructure locally or in the cloud.
-
Ansible is an open-source software provisioning, configuration management, and application-deployment tool enabling infrastructure as code.
-
It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.
-
Ansible provisions servers managing their configurations & deploying applications either locally or in the cloud.It works by pushing changes to all servers(by default)
My plan is to develop this project in 2 phases.
Phase 1: Deploying Ansible & Vagrant locally.
Phase 2: Deploying Ansible & Vagrant to Google Cloud. -----> Cloud Solution
-
GitKraken - a Git GUI tool.
-
Debian based O.S (Parrot O.S).
-
VMWare Workstation.
-
Ubuntu Server.
I'm impressed as to the array of tools listed by the ubuntu server including the Google Cloud SDK.
Apparently 2 ubuntu servers can run simultaneously using the same network card but in different windowes,it was a success.
└──╼ $ sudo mkdir /etc/ansible
└──╼ $ sudo touch /etc/ansible/hosts
- The hosts file should contain the server(s) details,In my case:
[servers]
192.168.x.x
OR (i.e if you dont want to keep typing the SSH password)
192.168.x.x ansible_ssh_pass=xxxx ansible_ssh_user=user
└──╼ $ansible all -m ping
See memory usage
└──╼ $ ansible servers -a "free -m" -u [ubuntu_server_1]
└──╼ $ansible all -m setup ---> Gathering facts.
└──╼ $ ansible abc -m copy -a "src = /etc/yum.conf dest = /tmp/yum.conf" ---> Copying a file