file_present

Create a file if it doesn't exist.

⚙️ Compatible targets: Linux, Windows

Parameters

NameDocumentation
pathFile to create (absolute path on the target node).

This parameter is required.

Example

method: file_present
params:
  path: VALUE