Not quite.
In this case Ansible is enabled by a user logging into the system; The user should not be allowed to login to the system in the first place. Ideally you want your configuration system indepenent of user logins.
Ansible has its place, my argument is that it doesn't belong here.