file_ensure_lines_present
Ensure that one or more lines are present in a file.
⚙️ Compatible targets: Linux, Windows
⚠️ Deprecated: This method is deprecated and should not be used.
Parameters
Name | Documentation |
---|---|
path | File name to edit (absolute path on the target node). This parameter is required. |
lines | Line(s) to add in the file. This parameter is required. |
Example
method: file_ensure_lines_present
params:
lines: VALUE
path: VALUE