An important feature of Ansible, idempotency, helps prevent unnecessary changes in the managed hosts. Idempotency executes one or more tasks on a server however many times you need to.
But it doesn’t do anything if it has already been modified or if it’s working correctly. To put it simply, the only changes that’ll be added are those that are needed and not already in place.