Skip to content

Glossary: Security Architecture Models

lineinfile

Also written: ansible.builtin.lineinfile

An Ansible module that makes sure one line is present in a file, replacing any line that matches a pattern. Alex uses it to set PermitRootLogin and PasswordAuthentication to no.

Where the book teaches it

Related terms

Ansibleplaybooksshd_config