From the course: Ansible for Windows Administration
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Monitoring and managing system processes
From the course: Ansible for Windows Administration
Monitoring and managing system processes
- [Presenter] Monitoring and managing system processes is really important for maintaining system health and performance. In this video, I'll show you how to use Ansible to start, monitor and manage system processes. So how can Ansible help with process management? First, we can use Ansible to start and stop processes. We can also use it to monitor process resource consumption. And, finally, we can trigger changes in processes based on specific conditions. Now let's take a look at how we can use Ansible to engage in process management. We'll start with monitoring a process and obtaining information about it. I am on my Ansible cultural node, where I have my inventory file and configuration file. I'll now create the process.yml playbook. I will start the playbook with the classic three dashes. The name of my first play will be called process management. It will apply to all hosts within the inventory. And now I will start my task section. For my first task, I will call it get info on…