Ansible Linux Users & Groups By Examples

Posted By: readerXXI

Ansible Linux Users & Groups By Examples: 20+ Automation Examples on Linux Users and Groups Operation for Modern IT Infrastructure
by Luca Berton
English | 2022 | ASIN: B09XZMPPWS | 419 Pages | ePUB | 0.25 MB

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 manage users and groups in Linux and macOS operation systems are the most common System Administrator tasks.

Each of the 20+ lessons summarizes a specific scenario about user and groups management: creating a user, creating a new pair of a suitable SSH key and a home directory, changing a password and specifying the encryption cipher, removing the home directory and the mailbox, or assigning a special `nologin` shell for temporarily disabled users. Another user scenario that happens very often is when you need only to temporarily disable and enable a user. Another useful administrator tool is group management to assign permission to resources to a bunch of users.

You could easily customize the example code with your username and use it in your everyday journey without any additional effort.

There are some Ansible codes usable in all the Linux systems, battle-tested for RedHat-like and Debian-like systems.

Are you ready to automate your day with Ansible?

Examples in the book are tested with the latest version of Ansible 2.9+ and Ansible Core 2.11+.