Change user password - Ansible module user

How to write an Ansible Playbook to assign the password “password” to an “example” user account in a Linux system with SHA512 encryption.

00:00 Introduction
00:20 ansible.builtin.user Ansible module
01:00 parameters of ansible.builtin.user
02:30 user module demo playbook
04:35 user module execution and verification
05:38 Recap

Learn Ansible in course by 100+ examples:

FREE Top 10 Best Practices of Ansible Automation: save time, reduce errors and stress –

My Book reading list: The Art Of War by Sun Tzu Unlimited Memory: How to Use Advanced Learning Strategies to Learn Faster, Remember More and Be More Productive by Kevin Horsley Driving Performance through Learning: Develop Employees through Effective Workplace Learning by Andy Lancaster The 4-Hour Body: An Uncommon Guide to Rapid Fat-Loss, Incredible Sex, and Becoming Superhuman by Timothy Ferriss Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones by James Clear The Power of Now: A Guide to Spiritual Enlightenment by Eckhart Tolle The Power of Pressure: Why Pressure Isn’t the Problem, It’s the Solution by Dane Jensen The More of Less by Joshua Becker Rich Dad Poor Dad: 20th Anniversary Edition: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not! by Robert T. Kiyosaki Antifragile: Things That Gain from Disorder by Nassim Nicholas Taleb How to Talk to Anyone: 92 Little Tricks for Big Success in Relationships by Leil Lowndes The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life by Mark Manson


3 thoughts on “Change user password – Ansible module user”
  1. Thanks but, I get an error, "The powershell shell family is incompatible with the sudo become plugin". I will be glad if you help

  2. Good video . . congrats

    can you demonstrate how to use password_expire_max parameter with 'user' module please?

Leave a Reply

Your email address will not be published.

Captcha loading...