Tag Archives: Ansible

Use of runtime variables to save into another variable using register in Ansible

Another major use of variables is running a command and using the result of that command to save the result into a variable   – hosts: all tasks: – name: Ansible register variable basic example shell: “find *.txt” args: chdir: “/Users/mdtutorials2/Documents/Ansible” register: find_output – debug: var: find_output # – hosts: all tasks: – name: Ansible… Read More »

How to use template in Ansible?

How to use template in Ansible? ##### Step 1 – Create your inventory file with ##### ##### Step 2 – Create templates directory ##### <strong>##### Step 3 – Create a playbook.yaml#####</strong> ##### Step 4 – Last comamds to execute #####

Ansible Playbook Lab & Excercise – Part 2

Execution Mode – Remote Write a Ansible Playbook to create a group called “deploy” Write a Ansible Playbook to create a user called “deploy-user” which is part of group called “group” and with /bin/bash shell. Write a Ansible Playbook to install package named “httpd” in RHEL/centos. Write a Ansible Playbook to start and enable the… Read More »

Top Questions on Server Configuration Management Tools Chef, Puppet, and Ansible

  Source – http://hub.scalr.com/blog/top-questions-on-server-configuration-management-tools-chef-puppet-and-ansible-2 As a quick recap, configuration management tools enable companies to standardize and automate their infrastructure. Through standardization, you can build systems that are platform independent (i.e. instead of relying on AMIs or provider specific toolsets). These tools also make it easy reproduce servers for scaling or testing, and recover from disaster… Read More »

Top 10 Scripting Languages in DevOps | List of Best Scripting Languages

This is the time of DevOps in software industry and DevOps uses different different languages for deployment automation and for software development. This is the reason if you are a DevOps professional and want to be succeed in DevOps role than command on scripting languages is must. But, one can not be a master of… Read More »

Top 5 Configuration Management Tools

Top 5 Configuration Management Tools Puppet In computing, Puppet is an open-source configuration management utility. It runs on many Unix-like systems as well as on Microsoft Windows, and includes its own declarative language to describe system configuration. Puppet is produced by Puppet Labs, founded by Luke Kanies in 2005. It is written in Ruby and… Read More »