1. Login to Ansible Tower and Navigate to Inventories Section
2. Select the Inventory –> Host –> Run Command option in the right corner as shown in below screenshot.
3. Select the module and click Launch option. In below...
Playbook to install and start the httpd service
---
- hosts: ansiblenode2
become: yes
tasks:
- name: install httpd
yum:
name: httpd
state: latest
- name: start and enable httpd
service:
name:...
Ansible adhoc commands are useful to perform the tasks in a single time. Mostly adhoc commands are using to check the log information, service status and gather information of cpu, memory etc.,
We will see some frequent using modules with...
Sometimes server might be responding slowly and need to find which process is consuming high cpu and memory to fix it. Below commands will helpful to find the top 10 cpu and memory usage processes.
Top 10 CPU Usage processes :
$ ps -eo...
What is Ansible ?
Ansible is an open source software which we can use for configuration management, application deployment & software provisionig across multiples systems. its run on a unix operating system but can do the configuration...
In below, I have explained with examples to register in Red Hat Portal and enable the repositories using subscription manager.
To Register server :
[root@rhel7 ~]# subscription-manager register
Registering to: subscription.rhsm.redhat.com:443/subscription
Username:...
The CentOS Project is a community-driven free software effort focused on delivering a robust open source ecosystem. For users, we offer a consistent manageable platform that suits a wide variety of deployments. For open source communities,...
Enterprises invest a lot of time, effort and money in keeping their systems secure. The most security-conscious might have a security operations center. They of course use firewalls and antivirus tools. They probably spend a lot of time...
The next time you encounter a laptop or PC, pay attention to the operating system. Most likely it is not open source because closed-source platforms such as Windows and macOS have captured most of the PC client OS market.
Open source OS...
If you can’t stand the lackluster security of a Windows computer, but macOS is much too shallow, allow us to introduce you to Linux. It is, quite simply, the ultimate in open source software. The OS started out as being exclusive to regular...