September 2018
Beginner to intermediate
214 pages
5h 53m
English
These are the only three modules that you need to perform the great configuration file management skills that are had by tools, such as awk or sed. The lineinfile module looks for a specific line in a file and replaces it with a predefined regular expression. The replace module replaces all instances of a specific pattern within a file, and blockinfile inserts, modifies, or deletes one or several lines of text located between two marker lines in a file. We have merged these three modules together because they have similar basic functionalities, but each one is specialized with regard to how it does things. The following playbook example will show each of these modules used to deliver ...
Read now
Unlock full access