Skip to content

VinayKumarKnol/LogRotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#This is an Ansible Role.

###Make sure to follow the following Directory structure.

YOUR-FOLDER/
├── playbook.yml
└── roles
    └── LogRotation
        ├── defaults
        │   └── main.yml
        ├── tasks
        │   └── main.yml
        └── templates
            └── conf.j2

###To Run the Ansible-Playbook

 #To run on local host
 >sudo ansible-playbook your_playbook.yml 

 #To run on machines.
 >ansible-playbook -i inventory.yml -u <user_name> --key-file <location of ssh file> \
  your_playbook.yml

About

Log rotation through ansible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published