Sunday, 16 January 2022

ANSIBLE - HOW TO GET THE DISK DETAILS FROM REMOTE SERVERS

 How to get the disk details from Remote Servers

I have created 3 Ubuntu servers with the names:-

Server1 - Installed Ansible

Server2 - Client Node1

Server3- Client Node2

Note:- I installed ansible on Server1.

I have created a file :- vi disk-details.yml

This will gather the disk details from the app group [Server2 and Server3]


Print the disk space details from the servers



No comments:

Post a Comment