user

16 Ansible tutorials tagged “user”. Working examples covering automation, configuration management, and DevOps workflows.

ansible.builtin.user Module: Manage Linux Accounts

playbooks · 6

Manage Linux accounts with ansible.builtin.user: create, modify, and delete users; set passwords, groups, SSH keys, home directories, and shells.

beginner

Add Secondary Groups to Linux Users with Ansible Playbook

playbooks · 3

Learn how to add secondary groups to Linux users with an Ansible playbook. This step-by-step guide includes YAML configuration and execution details.

Beginner

Configure PostgreSQL with Ansible: User Access and Service Management

playbooks · 3

Learn how to automate PostgreSQL configuration with Ansible. This guide shows how to set user access with md5 authentication and manage PostgreSQL.

Beginner

Ansible Linux User Management Guide

playbooks · 5

Automate Linux user and group management with Ansible. Complete guide covering user creation, group management, SSH keys, password policies, PostgreSQL.

Beginner

Ansible troubleshooting — passwordless account

playbooks · 3

Explore the Fatal usermod error in Ansible troubleshooting with Luca Berton on Ansible Pilot, featuring practical solutions and Playbooknstrations.

Beginner

Ansible user Module — Users & Groups

playbooks · 4

Complete guide to the Ansible user module — create users, set passwords, manage groups, SSH keys, and home directories. Includes group module examples.

Beginner

Ansible win_user — Change Password

playbooks · 3

Learn to automate Windows user password changes with Ansible win_user module. Easily update passwords and manage user accounts on Windows-like systems.

Beginner

Change the User Primary Group on Linux with Ansible

playbooks · 3

Learn how to use Ansible to change a user's primary group on Linux systems with the user module. Streamline user management and ensure consistent group.

Beginner

Ansible user — Change Password

playbooks · 6

Change user passwords on Linux with Ansible user module. SHA-512 hashing with password_hash filter, Vault encryption, bulk updates, and idempotent.

Beginner

Ansible Windows Hosts — Step-by-Step

playbooks · 7

Learn how to configure Windows hosts for Ansible using basic authentication and WinRM. Follow our step-by-step guide to set up and run your first playbook.

Beginner

Ansible postgresql_user — Create Roles

playbooks · 4

Discover how to create and manage PostgreSQL users and roles with Ansible. Follow our guide for seamless user management on your PostgreSQL server.

Beginner

Ansible win_user — Create Local Users

playbooks · 3

Learn how to automate the creation and management of local user accounts on Windows systems using Ansible’s win_user module. Follow our detailed.

Beginner

Ansible: Disable and Lock a Linux User Account

playbooks · 2

Disable a Linux user account with Ansible: set password_lock: true and the nologin shell to block all logins — with copy-paste playbook examples.

Beginner

Ansible user Module — Enable and Unlock

playbooks · 2

Re-enable a locked Linux user account with Ansible: set password_lock: false, restore the /bin/bash shell, and verify access — with playbook examples.

Beginner

Remove a local user on Windows-like systems — Ansible module win_user

playbooks · 2

How to automate the removal of a local user “example” on Windows-like systems using the Ansible module win_user. With tested, real-world examples.

Beginner

Ansible user — Remove Accounts

playbooks · 4

How to remove user accounts with Ansible user module. Delete users, remove home directories, and manage accounts across Linux, macOS, and FreeBSD..

Beginner