A system administrator needs to update a configuration file on multiple servers using Ansible. The playbook must ensure the line 'MaxAuthTries 3' is present in /etc/ssh/sshd_config. Which Ansible module is most appropriate?
lineinfile is designed to manage lines in text files.
Why this answer
The lineinfile module ensures a specific line is present in a file, ideal for configuration management.