Chapter 10: Automating Linux Administration Tasks
Automate common Linux system administration tasks with Ansible.
What you will learn
- Subscribe systems, configure software channels and repositories, enable module streams, and manage RPM packages on managed hosts.
- Manage Linux users and groups, configure SSH, and modify the sudo configuration on managed hosts.
- Manage service startup, schedule processes with at, cron and systemd, reboot managed hosts, and control the default boot target.
- Partition storage devices, configure LVM, format partitions or logical volumes, mount file systems, and add swap spaces.
- Configure network settings and name resolution on managed hosts, and collect network-related facts.
- Archive files on managed hosts and restore them with the right content, ownership and permissions.
Sections
- Managing software
- Exercise: Managing software and subscriptions
- Managing users and authentication
- Exercise: Managing users and authentication
- Managing the boot process and scheduled processes
- Exercise: Managing the boot process and scheduled processes
- Managing storage
- Exercise: Managing storage
- Managing network configuration
- Exercise: Managing network configuration
- Archiving and restoring files
- Exercise: Archiving and restoring files
- Exercise: Automating Linux administration tasks
- Ansible Linux automation quiz
- Ansible Linux automation cheat sheet