Commonly used Ansible commands

To install Ansible in Ubuntu

To install Ansible in CentOS

Ansible ad-hoc command to ping all remote servers

Ansible ad-hoc command to invoke setup ansible module(gather facts) on the ubuntu1 container

Ansible ad-hoc command to execute commands on a container named ubuntu1 using shell ansible module

Running an ansible playbook

Creating an ansible vault protected file

Editing an ansible vault protected file

Encrypting sensitive your data file using Ansible Vault

Decrypting sensitive your data file that was encrypted by Ansible Vault

Creating ansible role using ansible galaxy tool

You may check my Ansible YouTube videos for further learning. For consulting/training queries write to <jegan@tektutor.org>

 

Share Now

Jegan

More Posts By Jegan

Related Post

Leave us a reply