To disable Nagios alerts for a hostgroup, You need login to nagios server and make changes in your Nagios configuration. Basically, you’ll need to modify the hostgroup definition. Below are the setps needed to disable alerts for a hostgroup.Step1: Login to your Nagios server using SSH:Log in to the Nagios Server using SSH with user […]
Let’s take an example of below playbook which has variables defined. You can see “vars” section of playbook. It has multiple variables like pkg, myuser etc. Now user is looking to change one variable during run time and rest can go same. You need to just pass value if variable while running playbook using option […]
We are adding a network to host so that we can communicate Virtual Machines via host. Below are the steps: Step1: Login to vpshere and select an host on which you are going to add network. Step2: Go to host > Virtual switches > ADD NETWORKING (Please make sure on which switch you are going […]
ansible-vault is a command-line tool which is part of Ansible. It is specifically designed to help you encrypt sensitive data within your Ansible playbooks and inventory files, ensuring that your sensitive information remains secure and safe. Ansible vault does not implement its own cryptographic functions instead it uses a external python toolkit.Below are some points […]
Below is an example of a Ansible Playbook which runs multiple plays. Each play has its specific tasks. You can also define specific hosts group as well. – name: Play 1 – Install some dependencies hosts: web tasks: – name: update yum cache yum: update_cache: yes become: true – name: Install Apache web server yum: […]
In Ansible, privileged escalation refers to the process of elevating the permissions of a user or a process to gain higher levels of access or privilege on a remote system when you are performing any taks on managed systems. This is required when performing certain administrative tasks that demand superuser or administrative privileges, such as […]
Recent Blog