Automate Ubuntu Linux SysAdmin tasks in 30+ Ansible examples

Automate Ubuntu Linux SysAdmin tasks in 30+ Ansible examples

Automate the most common System Administrator tasks in Ubuntu Linux with some real-life examples Ansible Playbook

Learn the Ansible automation technology with some real-life examples. Every successful IT department needs automation nowadays for bare metal servers, virtual machines, could, containers, and edge computing. Automate your IT journey with Ansible automation technology. I’m going to teach you example by example how to accomplish the most common System Administrator tasks. Each of the 30+ lessons summarizes an Ansible module that you could use in your journey: from the most important parameter to some live demo of code and real-life usage. Each code is battle proved in the real life. Console interaction and verification are included in every video. Automate every mundane activity in Linux like editing config files becomes easy from editing a line, multiple lines, or creating from the template, testing if a host is available, pausing the execution, rebooting a server, checking out some code from a git repository via HTTPS or SSH with key, copying files to or from a remote host, restart services and use Ansible templates, register the systems to Subscription Manager, install packages and rolling updates, open firewall ports and set up an NFS server could be automated with some lines of code and these are only some of the long lists included in the course.

What you’ll learn?
  • Automate Ubuntu Linux System Administrator tasks
  • Ansible in real life use cases
  • Ansible code by modules
  • Ansible code specific for Ubuntu systems
  • Ansible code specific for Debian-like systems
Requirements:
  • Ansible basic knowledge
Course content
2. Install Ansible
1. How to install Ansible in Ubuntu 20.04 LTS
—————
2. How to install Ansible in Ubuntu 21.10
—————
3. How to install Ansible with PIP
—————
3. Ansible Playbook code for Linux
1. Test host availability – Ansible module ping
—————
2. Print a textvariable during execution – Ansible module debug
—————
3. Edit single line text – Ansible module lineinfile
—————
4. Edit multi-line text – Ansible module blockinfile
—————
5. Pause execution – Ansible module pause
—————
6. Reboot remote hosts – Ansible module reboot
—————
7. Checkout git repository via HTTPS – Ansible module git
—————
8. Checkout git repository via SSH – Ansible module git
—————
9. Copy files to remote hosts – Local to Remote – Ansible module copy
—————
10. Copy files from remote hosts – Remote to Local – Ansible module fetch
—————
11. Start and enable services on boot on remote hosts – Ansible module service_facts
—————
12. Restart services on remote hosts – Ansible module service
—————
13. Stop and disable services on boot on remote hosts – Ansible module service
—————
14. Apply a file template – Ansible module template
—————
15. Loop in file template – Ansible module template – Generate hosts file
—————
16. Create a user account – Ansible module user
—————
17. Create a group in Linux – Ansible module group
—————
4. Ansible code to interact with Linux filesystem
1. Create an empty file – Ansible module file
—————
2. Check if a file exists – Ansible module stat
—————
5. Ansible Playbook code for Ubuntu systems
1. Install a package in Debian like systems – Ansible module apt
—————
2. Rolling Update Debian-like systems – Ansible module apt
—————
3. Open firewall ports in Debian like systems – Ansible module ufw
—————
4. Install Google Chrome in Debian-like systems – Ansible module apt_key, apt_repos
—————
5. Install Microsoft Edge in Debian-like systems – Ansible module apt_key, apt_repo
Source: https://www.udemy.com/course/automate-ubuntu-linux-sysadmin-tasks