Skip to content
  • Home
  • About Me
  • Subscribe
  • Sponsored Post
  • Contact Us
GoLinuxCloud
  • Basic Linux Commands
  • Cluster
    • Ceph Storage Cluster
    • DRBD Cluster
    • GlusterFS Shared Storage
    • Pacemaker Cluster
    • KVM Cluster
  • DevOps
    • Ansible
    • Docker
    • Elasticsearch
    • OpenStack
    • Kubernetes
  • Security
    • Linux Firewall
    • LUKS Encryption
    • OpenSSL
    • Secure SSH
  • Performance
    • CPU
    • HugePages
    • Kernel
    • Memory
    • Storage
  • Programming
    • Python
    • Shell Scripts

Ansible Tutorial

How to provision AWS EC2 Instances using Ansible

How to provision AWS EC2 Instances using Ansible

In this section we will use ansible to create new EC2 instances on AWS and further work on these instances. These operations can be completely automated using ansible.   Setup Environment for AWS provisioning We ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment

10 ansible vault examples to decrypt/encrypt string & files

10 ansible vault examples to decrypt/encrypt string & files

Let us continue our Ansible Tutorial with Ansible vault. Ansible version 2.3 supports encrypting single variables using an Ansible single encrypted variable with the !vault tag. In this article we will see some ansible vault ... Read More

Categories Ansible Tutorial Tags ansible 5 Comments

Create ansible role from scratch | Ansible roles example

Create ansible role from scratch | Ansible roles example

In this article we will create ansible role from scratch using ansible galaxy init. In our earlier article I gave you an overview on ansible role directory structure. Now we will use that directory structure ... Read More

Categories Ansible Tutorial Tags ansible 3 Comments

Ansible roles directory structure overview | Beginners Guide

Ansible Roles Directory structure explained in detail

In this article I will give you an overview on Ansible Roles directory structure. When working with Ansible it is recommended to use project directories so that contents can be organised in a consistent way. ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment

Working with include and import module in Ansible

Working with include and import module in Ansible

In this section we will use include and import module to add another tasks or complete playbook into another playbook.   include module Use include module to add tasks to the playbook We can create ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment

Ansible block and rescue for error handling with examples

Ansible block and rescue for error handling with examples

Blocks in Ansible allow you to logically group a set of tasks together, primarily for one of two purposes. One might be to apply conditional logic to an entire set of tasks. We can use ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment

How to use ansible tags in playbook with examples

How to use ansible tags in playbook with examples

Ansible tags are another great feature which can help you execute respective tasks from the playbook. By default all the tasks from the playbook are executed but with tags we can control this behaviour and ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment

How to repeat tasks using ansible loop with examples

How to repeat tasks using ansible loop with examples

Oftentimes, we will want to perform a single task, but use that single task to iterate over a set of data. For example, you might not want to create one user account but 10. Or ... Read More

Categories Ansible Tutorial Tags ansible Leave a comment
Post navigation
Older posts
Page1 Page2 … Page4 Next →
  • Ansible Tutorial (MENU)
  • Getting started with Ansible
  • Ansible Architecture
  • Pre-requisites
  • Installing Ansible
  • Configuring Ansible
  • Ansible configuration file (ansible.cfg)
  • Ansible ad-hoc commands
  • Ansible inventory files
  • Working with managed nodes without python
  • Working with managed nodes with password
  • Jinja2 templates and syntax
  • Ansible Facts
  • Ansible variables and data types
  • YAML syntax in ansible playbooks
  • Introduction to ansible playbooks
  • Use Visual Code Studio to write playbooks (GUI)
  • Using operators in Ansible
  • Ansible conditional statements
  • Ansible handlers
  • Repeating tasks with Ansible loop
  • Using Ansible tags
  • Ansible block and rescue (error recovery)
  • Working with include and import module in Ansible
  • Ansible roles
  • Create your first Ansible role
  • Ansible vaults
  • AWS provisioning with Ansible
Golinuxcloud Subscribe

Also Read

  • 5 useful tools to detect memory leaks with examples
  • 15 steps to setup Samba Active Directory DC CentOS 8
  • 100+ Linux commands cheat sheet & examples
  • List of 50+ tmux cheatsheet and shortcuts commands
  • RHEL/CentOS 8 Kickstart example | Kickstart Generator
  • 10 single line SFTP commands to transfer files in Unix/Linux
  • Tutorial: Beginners guide on linux memory management
  • 5 tools to create bootable usb from iso linux command line and gui
  • 30+ awk examples for beginners / awk command tutorial in Linux/Unix
  • Top 15 tools to monitor disk IO performance with examples

Also Read

  • Easy examples to setup different SSH port forwarding types
  • How to disable ICMP and ICMPv6 redirects in Linux
  • How to setup http/https proxy with special characters in password
  • How to disable SELinux (with and without reboot)
  • Beginners guide to use ssh config file with examples
  • How to disable ICMP timestamp responses in Linux
  • Linux sftp restrict user to specific directory | setup sftp chroot jail
  • 6 easy steps to setup offline two factor authentication in Linux
  • Easy steps to open a port in Linux RHEL/CentOS 7/8
  • 6 ssh authentication methods to secure connection (sshd_config)

RECENT POSTS

  • 9 easy steps to create custom ISO RHEL/CentOS 8
  • 10 must know usage of cat command in Linux/Unix
  • 6 Tools making Automation Testing easy in Linux
  • Easy examples to setup different SSH port forwarding types
  • 5 easy ways to concatenate strings in Python with examples

INTERVIEW QUESTIONS

  • OpenStack Interview Q&A (Multi-choice)
  • Shell Scripting Interview Q&A
  • 20+ AWS Interview Q&A
  • 100+ GIT Interview Q&A
  • Linux Interview Q&A

CHEATSHEET

  • 27 nmcli command examples to manage network
  • 15 csplit and split examples to split and join files
  • 16 zip command examples to manage archive
  • 15 virt-install examples to manage KVM
  • 50+ tmux cheatsheet to split terminal

QUICK LINKS

  • Why I chose Rocket.net hosting platform?
  • Some handy Linux Keyboard Tricks
  • Want to publish sponsored post?
  • Please share your feedback
  • Our Sitemap Links
  • Home
  • Privacy Policy
  • Disclaimer
  • Subscribe
Copyright © 2021 | Hosted By Rocket