directory_check_exists

Checks if a directory exists.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
pathFull path of the directory to check.

This parameter is required.

Example

method: directory_check_exists
params:
  path: VALUE

Documentation

This bundle will define a condition directory_check_exists_${path}_{ok, reached, kept} if the directory exists, or directory_check_exists_${path}_{not_ok, reached, not_kept, failed} if the directory doesn't exists