Automating Your Daily Jobs
Are you struggling to find automation use cases to start with Ansible automation? Your workplace is a great place to start your search for automation use cases. Track the most repeated jobs that you or your team are doing every day and you will see the opportunity to automate these tasks. This can be simple server information gathering, collecting operating system versions, or a simple weekly reboot job.
In this chapter, you will learn how to use the Jinja2 template to create reports and emails with the help of Ansible. You will also learn how to develop Ansible artifacts in a modular way and include tasks and variables dynamically.
In this chapter, we will cover the following topics:
- Using Ansible to collect server details
- Collecting system information
- System scanning and remediation using Ansible
- Automated weekly system reboot using Ansible
- Automating notifications
We will start with ansible_facts
and learn how to...