Ansible User Module-Ansible Add User To Group

Ansible User Module-Ansible Add User To Group: Ansible user module is used to create a user’s accounts in any Linux machine. With Ansible user module we can create users, we can delete users, we can add passwords to those users and with ansible user module we can add users to groups. In the following example,.. read more →

How To Install Ansible On Ubuntu

How to install ansible on ubuntu Ansible is a configuration management, Deployment & Orchestration tool. Which helps you to automate server and cloud provisioning, configuration management and application deployment. In the following steps i will show you how to install ansible on ubuntu step by step. Prerequisite of ansible is python so install python in.. read more →

Ansible Debug Module with Examples

Ansible Debug Module with Examples Ansible debug module is used to print the message in the log output. The message is nothing but any variable values or output of any task. In the following examples I will show how to use debug module to print variable values, and print variables values with by adding some.. read more →

Ansible Register Variable-Ansible Register Module Examples

Ansible Register Module With Examples Ansible register variable or ansible register module is used to capture or store the output of the command or task. By using the register module, you can store that output into any variable. In the following example, I will show you how to find the status of httpd. I will.. read more →

Ansible ignore_errors=True with Examples

ansible ignore_errors=True with examples In ansible if anyone of the task fails then it will stop the the entire execution of playbook or role. So to avoid this problem we use ingnore_errors=True ignore_errors=True If you mention ignore_errors=true at the end of the task , if the task fails fails also still the playbook or role.. read more →

Ansible Command Module With Examples

Ansible Command Module: Ansible command module is used to run any commands or run any scripts in the remote target machine. With the command module, you can run any Linux or shell commands in the target machine. ansible command module ad hoc:

here web is my target server hostname, you can mention your server hostname.. read more →

Ansible Service Module with Systemd Module Explained

Ansible Service Module with Systemd Module Explained by using ansible service module or ansible systemd module you can start, stop, restart and enable the services, so this ansible service module and ansible systemd modules are similar to Linux service command or Linux systemctl command. NOTE: we use Linux syetmctl command in Redhat(rhel), centos we use.. read more →

How To Install Ansible On Centos 7 and RHEL 7

How To Install Ansible On Centos 7 and RHEL 7 to install ansible in Redhat Linux/Rhel or to install ansible on centos 7 you need to follow two steps install epel repo install ansible we can install Ansible by enabling the epel repository under RHEL/CentOS 6, 7 Install Epel Repo Ansible package is not available.. read more →

Ansible File Module

Ansible File Module: ansible file module is used for creating files and deleting the files in the remote server. With ansible file module We can also create multiple files and we can also delete multiple files in the remote server. we can create files with content.  we can create directories we can delete directories and.. read more →