Ansible-PlayBook to set Password Complexity in Linux 7.6

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

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/ to see if a role fits for your needs.