lineinfile   6

lineinfile - Manage lines in text files — Ansible Documentation
The difference between this module and the search and replace module is that the Line in File Module can be used to check the existence of text as well as to replace text, but it only works well for single line replacements. For multi-line replacements use the search and replace module instead.
documentation  ansible  guide  reference  lineinfile  module  edit  lines  in  text  files  update  change  replace  regex  regular  expression  howto  example  tutorial  check  existence 
july 2018 by racl101

related tags

ansible  change  check  documentation  edit  example  examples  existence  expression  files  gist  github  guide  howto  in  lines  match  module  more  one  or  pattern  reference  regex  regular  replace  stackoverflow  text  tutorial  update  whitespaces 

Copy this bookmark:



description:


tags: