Ansible Installation & configuration on Linux (Complete ansible course for beginner)

Опубликовано: 11 Февраль 2026
на канале: Ramu Subedi
195
like

This Ansible installation & configuration video will take you through the step by step process involved in Ansible installation on Ubuntu Linux.

In this video,
we created an ansible user on the all the nodes and give the permission
we did ssh-keygen and ssh-copy-id to node 1 and node 1 from control
++++
Installing ansible commands
apt apt update
apt install software-properties-common
add-apt-repository --yes --update ppa:ansible/ansible
apt install ansible

Ad-hoc command
ansible -m ping myserver --become -K
Playbook apache2.yml
sample playbook

ansible-playbook apache2.yml "myservers" --become -K
---
name: Example playbook
hosts: web_servers
become: true
tasks:
name: Install Apache web server
apt:
name: apache2
state: latest

Link to Learn more about ansible:
https://docs.ansible.com/ansible/late...