file_absent

Remove a file if it exists.

⚙️ Compatible targets: Linux, Windows

Parameters

NameDocumentation
pathFile to remove (absolute path on the path node).

This parameter is required.

Example

method: file_absent
params:
  path: VALUE