Sunday, 16 January 2022

ANSIBLE - HOW TO DELETE FOLDER FROM REMOTE SERVERS

How to delete folder 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 remove-dir.yml

This will delete the folder /oracle from the app group [Server2 and Server3]


Recommended Books:-

Implementing DevOps with Ansible 2 Paperback

Automation with Ansible Paperback

Ansible for DevOps: Server and configuration management for humans

Ansible: From Beginner to Pro Paperback

Ansible: Up and Running- Automating Configuration Management and Deployment the Easy Way Paperback


No comments:

Post a Comment