DevOps Classroomnotes 16/Mar/2022

Ansible Contd

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

How Ansible Works

  • Basic Illustration
    Preview
  • 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
    Preview

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

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner