• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • Discover DevOps Tools
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • DevOps Instructor-led Training
  • Contact

Ansible

Ansible – What is Roles ? Playbook vs Role

October 22, 2018 By Cloud_Devops 2 Comments

Ansible - Roles - Structure

Playbook is often used to complete simple tasks. When you would like to perform the multiple tasks, restarting services and copying files for a single job, you must consider using “roles” instead of writing the lengthy playbooks. Roles uses the known file structure to keep the various elements in different directories. For an example, handlers(restarting […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible

Ansible – How to Store Playbook Result in Variable ?

August 25, 2018 By Cloud_Devops 2 Comments

Register and Stdout - Ansible

Ansible playbooks/roles often used to complete the specific task which does not require an output. In some cases, you might need to capture the complex command output as results. The output would help to generate the required reports. In some cases, you might require to store configuration backup of the hosts. In this article, we will walk […]

Filed Under: Ansible engine, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – Use Loop Functions in Playbook

August 16, 2018 By Cloud_Devops Leave a Comment

Ansible Loop - With items

Ansible “loop” option might look like little backward but it will very useful when you want to perform the repetitive tasks. For each section in ansible playbook, we need to provide a meaningful name. For an example, if you want to install multiple packages, you need to create the section for each package. This could […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – How to Use facts on Playbooks ? Conditional Check

August 9, 2018 By Cloud_Devops 2 Comments

Ansible - Conditional Checks and ignore errors

Ansible playbook can make changes to the list of servers in quick time. Ansible’s setup module is able to identify the host’s types, OS distributions, and many other facts. For an example, You got a request from a client to install “Apache” package on all the Linux hosts where you have a mix of “Debian” […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – How to Gather facts on Remote Server ?

August 9, 2018 By Cloud_Devops Leave a Comment

Ansible Gather Facts - Setup Module

Ansible  – “setup” module is responsible to gather facts of the remote hosts. The system facts are nothing but the system configuration which includes the hostname, IP address, filesystems, OS releases, Users, Network parameters, CPU, memory and many more. This module is automatically included in all the playbooks to gather useful variables which can be used to create […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – What is Playbook ? Play with Tasks & Handlers

August 1, 2018 By Cloud_Devops Leave a Comment

Ansible Playbook

Ansible – What is playbook? Playbooks are useful to perform multiple tasks and eliminates the limitation of Ad-hoc mode. Playbooks are the configuration, deployment and orchestration language of Ansible and it’s expressed in YAML format. If Ansible modules are the tools in your workshop, playbooks are your instruction manuals. YAML (Yet Another Markup Language) is […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, Automation

Ansible – Using File & Copy Modules in Ad-hoc Mode?

July 11, 2018 By Cloud_Devops 1 Comment

Ansible - File and Copy Modules

Ansible “Ad-hoc” mode can be used to copy/delete/modify files on the specific host or Group of hosts using ansible modules. File module is used for setting file attributes like permission, ownership and creating the links. “Copy” module is used to copy the files to hosts from Ansible server. These modules are very often used in Ad-hoc […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – Running Command on Ad-hoc Mode

July 9, 2018 By Cloud_Devops 2 Comments

Ansible - Ad-hoc Mode and Gain Root Access

Ansible allows administrators to execute on-demand tasks on Ansible managed servers. The ad-hoc commands are the most basic operations that can be performed with Ansible engine. Each ad-hoc command is capable of performing a single operation on host or group of hosts. To perform multiple operations, the administrator should run the series of ad-hoc commands from Ansible […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – Command vs Shell vs Raw Modules

July 7, 2018 By Cloud_Devops Leave a Comment

Ansible Command shell Raw

Ansible uses modules to complete the task on the remote server. The most commonly used command modules are “command”, “shell”, and “raw”. Each module has its own advantages and disadvantages. In Ad-hoc command mode, unless you specify the module name, it uses “command” module by default. In this article, we will see the functionality of […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

Ansible – How to Setup Inventory for Easy Operations ?

July 4, 2018 By Cloud_Devops Leave a Comment

Ansible Inventory

In Ansible, Setting up inventory is one of the most important tasks.  Ansible can work with multiple servers at the same time but the challenge is how to classify the servers. While setting up Ansible environment, you need to classify the hosts as much a possible using the ansible inventory. For an example, By looking […]

Filed Under: Ansible engine, Automation, Configuration Management, DevOps Tagged With: Ansible, DevOps

« Previous Page
Next Page »

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·