file_check_socket

Checks if a file exists and is a socket.

⚙️ Compatible targets: Linux

Parameters

NameDocumentation
pathFile name (absolute path on the target node).

This parameter is required.

Example

method: file_check_socket
params:
  path: VALUE

Documentation

This bundle will define a condition file_check_socket_${path}_{ok, reached, kept} if the file is a socket, or file_check_socket_${path}_{not_ok, reached, not_kept, failed} if the file is not a socket or does not exist