DevOps Classroomnotes 16/Mar/2022

Ansible Contd

  • Ansible is widely adopted for
    • Configuration Management
    • Network Automation
    • Administrative Activity Automation.

How Ansible Works

  • Basic Illustration
  • Ansible should be installed on the control node which comes with inbuilt python or uses the existing python on the control node
  • On the Nodes, we need to ensure python is installed.
  • When we execute Ansible Playbook, Ansible control node logs in into nodes parallely (by default 5) and executes the playbook using python
  • To login into the node Ansible needs credentials configured.
  • Protocol used for logging into
  • Linux Machine: SSH
  • Windows Machine: WinRM

Lab Setup

  1. We need 1 Linux Machine to act as Ansible Control Node
  2. Visual Studio Code as a editor.
  3. Windows 7 or 8.1 => Install Git on Windows
  4. Installing Softwares on Windows Refer Here
  5. For Windows 10: Refer Here to install Windows Terminal
  6. Mac:
    1. Install Homebrew Refer Here
    2. Git: brew install git
    3. Visual Studio Code: brew install --cask visual-studio-code
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Customized Social Media Icons from Acurax Digital Marketing Agency

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%