# Ansible-PlayBook to set Password Complexity in Linux 7.6

**URL:** <https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [August 20, 2021, 2:33am UTC](https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647 "2021-08-20T02:33:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rifky\_Ramadhana](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rifky\_Ramadhana](https://forum.ansible.com/u/Rifky_Ramadhana)\
**Post date:** [August 20, 2021, 2:33am UTC](https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647/1 "2021-08-20T02:33:31Z")

</div>

Dear All,  
I have so many servers using RHEL 7.6. as pci dss compliance we should confugre the password complexity as PCI standard. I have plan to use ansible as automation tools to configure or hardening password complexity in our servers.

Anyone has the ansible-playbook to hardening password complexity in RHEL 7.6?

Regards,

Rifky Ramadhana

---

<div class="post-metadata">

**Author:** ![Roberto\_J\_R\_Paz](https://avatars.discourse-cdn.com/v4/letter/r/d2c977/32.png) [@Roberto\_J\_R\_Paz](https://forum.ansible.com/u/Roberto_J_R_Paz)\
**Post date:** [August 20, 2021, 2:41pm UTC](https://forum.ansible.com/t/ansible-playbook-to-set-password-complexity-in-linux-7-6/35647/2 "2021-08-20T14:41:15Z")

</div>

There are a few ansible roles available in ansible-galaxy to do PCI diagnose and hardening on RH7. Maybe you should check in [https://galaxy.ansible.com/](https://galaxy.ansible.com/) to see if a role fits for your needs.
