file_create

Create a file if it doesn't exist.

⚙️ Compatible targets: Linux, Windows

⚠️ Deprecated: This method is deprecated and should not be used.

Parameters

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

This parameter is required.

Outcome conditions

You need to replace ${path} with its actual canonified value.

  • ✅ Ok: file_create_${path}_ok
    • ☑️ Already compliant: file_create_${path}_kept
    • 🟨 Repaired: file_create_${path}_repaired
  • ❌ Error: file_create_${path}_error

Example

method: file_create
params:
  path: VALUE