ansible_assert
is a collection of Ansible playbooks that demonstrate how to use Ansible for verifying configurations without actually changing.
- Clone the repo.
- Update the hostnames in the
hosts
files. - Run a playbook:
ansible-playbook -i hosts file-content-check.yml
Read How to use Ansible for verifying configurations for more details.