diff --git a/lib/ansible/modules/system/user.py b/lib/ansible/modules/system/user.py index 8d863ba8a5..06685a5516 100644 --- a/lib/ansible/modules/system/user.py +++ b/lib/ansible/modules/system/user.py @@ -2096,6 +2096,7 @@ class HPUX(User): cmd.append(self.shell) if self.update_password == 'always' and self.password is not None and info[1] != self.password: + cmd.append('-F') cmd.append('-p') cmd.append(self.password)