# Newbie question: Using ansible for runbook automation type of tasks

**URL:** <https://forum.ansible.com/t/newbie-question-using-ansible-for-runbook-automation-type-of-tasks/33343>\
**Category:** Ansible Project\
**Created:** [July 8, 2020, 12:36am UTC](https://forum.ansible.com/t/newbie-question-using-ansible-for-runbook-automation-type-of-tasks/33343 "2020-07-08T00:36:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Malghan](https://avatars.discourse-cdn.com/v4/letter/r/e99b99/32.png) [@Ravi\_Malghan](https://forum.ansible.com/u/Ravi_Malghan)\
**Post date:** [July 8, 2020, 12:36am UTC](https://forum.ansible.com/t/newbie-question-using-ansible-for-runbook-automation-type-of-tasks/33343/1 "2020-07-08T00:36:08Z")

</div>

I am looking for an application that can be used as a runbook automation tool from a monitoring platform (nagios). From nagios I have the ability to run scripts from the Nagios server. I need to build a simple script that ssh to a remote server, look for some log files, delete them if it exists, restart a process and bring back the results of the commands into a file on the Nagios server. I know I can implement this using Run book Automation tools like Blue Prism. I am very new to Ansible. Can Ansible be used to build something like this and called from another application? Before I spend too much time into learning Ansible, wanted to check if I should consider Ansible for this.

Thanks  
Ravi

---

<div class="post-metadata">

**Author:** ![Mike\_Eggleston](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Post date:** [July 8, 2020, 12:37am UTC](https://forum.ansible.com/t/newbie-question-using-ansible-for-runbook-automation-type-of-tasks/33343/2 "2020-07-08T00:37:53Z")

</div>

Yes, Ansible can do that.

Mike
