Ansible: Install & Configure & Test on RHEL, CentOS | Linux Automation

preview_player
Показать описание
In this tutorial, I will give a brief introduction about Ansible, then I will install, configure, and test Ansible commands, modules, and finally creating a playbook ( YAML file) to install httpd service on target servers.

Operating System used: CentOS 7 virtual machines on VmWare Workstation.

Environment Setup:

Connect three CentOS 7 machines in Vmware Workstation using NAT or LAN networking option.

Alternatively, you have option to add Ubuntu machine for testing. ( instead of yum use apt)

Introduction:

Ansible is an open-source software provisioning, configuration management, and application-deployment tool.

It runs on many Unix-like systems, and can configure both Unix-like systems as well as Microsoft Windows.

It includes its own declarative language to describe system configuration.

Ansible was written by Michael DeHaan and acquired by Red Hat in 2015.

Ansible is agentless, temporarily connecting remotely via SSH or Windows Remote Management (allowing remote PowerShell execution) to do its tasks.

Useful Resources:

YAML file used in this tutorial - Get it from my Github account:

Ansible Documentation:

Ansible Wikipedia:

Tutorial Parts :

Overview - 00:00
Installation - 06:08
Configure Ansible - 07:52
Test Commands - 13:30
Create Playbook (YAML) - 20:00
Test Playbook - 27:35

Thank you for watching!

Like & subscribe!
Рекомендации по теме
Комментарии
Автор

Thanks a lot!!! previously I was not able to ping my nodes, your video helped me solving the problem. You gained a subscriber! Keep the good work😊

venkateshreddysure
Автор

I have a problem writing on the "/etc/ansible/ansible.cfg" file.
It says it's only readable!

salmamahmoud