Skip to content

text.line

Ensure a line is present or absent in a file (lineinfile-equivalent)

Properties

Property Type Required Description
backup boolean No -
insert_after string No -
insert_before string No -
line string No -
path string Yes -
regexp string No -
state string No -

Platform Support

linux, darwin, windows, freebsd

Events Emitted

  • file.updated