Learn the basics of managing users and groups in Linux and macOS with some real-life examples in Ansible Playbook.
Read more.Instructor
Luca Berton is an Ansible Automation Engineer of Red Hat, based in Brno - Czech Republic. With more than 15 years of experience as a System Administrator, he has strong expertise in Infrastructure Hardening and Automation. Enthusiast of the Open Source supports the community by sharing his knowledge in different public access events—geek by nature, Linux by choice, Fedora, of course.
Access all courses in our library for only $9/month with All Access Pass
Get Started with All Access PassBuy Only This CourseAbout 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 |
Good intro to basic Ansible playbook generation
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.