Please ensure Javascript is enabled for purposes of website accessibility
Learn To Manage Linux Users And Groups With Ansible In 20+ Examples
4.0( 1 REVIEWS )
1 STUDENTS
3h 13m
Luca
Luca

Learn the basics of managing users and groups in Linux and macOS with some real-life examples in Ansible Playbook.

Read more.
Course Skill Level
Intermediate
Time Estimate
3h 13m

Instructor

Luca
Luca

I’ve been 14 years in the IT market with a technical background and people in mind. I'm a certified RedHat System Administrator. My strengths are GNU/Linux and Cloud Computing. I like to teach and move your skill to the next level! I try to automate as many things as possible because I consider myself a lazy person.


Only want this course? Buy this course for $199 $29 and keep lifetime access. Click here

About This Course

Who this course is for:

  • System Administrators
  • IT Professionals
  • Cloud Engineers
  • DevOps

What you’ll learn: 

  • Ansible in real-life use cases
  • Users management with Ansible in Linux
  • Groups management with Ansible in Linux
  • Manage users and groups with Ansible in macOS

Requirements: 

  • Basic knowledge of Ansible

Learn the Ansible automation technology with some real-life examples.

Every successful IT department needs automation nowadays for bare metal servers, virtual machines, cloud 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 operating systems.

Each of the 20+ lessons summarizes a specific scenario about users 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 and macOS, battle-tested for RedHat-like and Debian-like systems.

Are you ready to automate your day with Ansible?

Our Promise to You

By the end of this course, you will have learned how to automate your IT tasks with Ansible. 

10 Day Money Back Guarantee. If you are unsatisfied for any reason, simply contact us and we’ll give you a full refund. No questions asked. 

Get started today!

Course Curriculum

Section 1 - Introduction
Introduction 00:00:00
Section 2 - Install Ansible
How To Install Ansible In Centos 8 00:00:00
How To Install Ansible In Ubuntu 20.04 LTS 00:00:00
How To Install Ansible In Ubuntu 21.10 00:00:00
How To Install Ansible In Centos Stream 8 00:00:00
How To Install Ansible In Centos 9 Stream 00:00:00
How To Install Ansible In Rocky Linux 8 00:00:00
How To Install Ansible In Oracle Linux 9 00:00:00
How To Install Ansible In OpenSUSE Leap 15 00:00:00
How To Install Ansible In ArchLinux 2021.12.01 00:00:00
How To Install Ansible In Debian 11 00:00:00
How To Install Ansible In Fedora 36 00:00:00
How To Install Ansible In Amazon Linux 2 (AWS EC2) 00:00:00
How To Install Ansible With PIP 00:00:00
How To Install Ansible In AlmaLinux 9 00:00:00
How To Install Ansible In SUSE Linux Enterprise Server (SLES) 15 SP3 00:00:00
Section 3 - Ansible Playbook Code For Linux
Test Host Availability – Ansible Module Ping 00:00:00
Print A Text Or Variable During Execution – Ansible Module Debug 00:00:00
Section 4 - Manage User With Ansible In Linux
Create A User Account – Ansible Module User 00:00:00
Remove User Account – Ansible Module User 00:00:00
Disable User Account – Ansible Module User 00:00:00
Enable User Account – Ansible Module User 00:00:00
Change User Password – Ansible Module User 00:00:00
User Password Expiration – Ansible Module User 00:00:00
Section 5 - Manage Groups With Ansible In Linux
Create A Group In Linux – Ansible Module Group 00:00:00
Delete A Group – Ansible Module Group 00:00:00
Add A User To A Second Group On Linux – Ansible Module User 00:00:00
Change The User Primary Group On Linux – Ansible Module User 00:00:00
Section 6 - Thank You
Thank You 00:00:00

Course Review

4.0

4.0
1 Ratings
  1. Anonymous

    Good intro to basic Ansible playbook generation

    4.0

    The section on installation for various Linux distros is a little repetitive. YAML demonstrations are good though and provide a solid framework for further study.