file_ensure_block_present
Ensure that a text block is present in a specific location.
⚙️ Compatible targets: Linux
⚠️ 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. |
block | Block(s) to add in the file. This parameter is required. |
Example
method: file_ensure_block_present
params:
block: VALUE
path: VALUE