Expand description

Additional built-in helpers

Functions

A templating helper that retrieves the value for current host from a map, returns a default value when current host is not recorded in the map.

A templating helper that tests if current machine’s hostname matches a set of given string(s).

A templating helper that conditions on values parsed from target machine’s /etc/os-release file. The querying keys are case agnostic.

A templating helper that tests if current user’s effective uid matches a set of given integer(s).

A templating helper that tests if current user’s username matches a set of given string(s).

A templating helper that tests if current machine’s hostname matches a set of given string(s). It is the negated version of if_host

A templating helper that conditions on values parsed from target machine’s /etc/os-release file. It is the negated version of if_os. The querying keys are case agnostic.

A templating helper that tests if current user’s effective uid matches a set of given integer(s). It is the negated version of if_uid.

A templating helper that tests if current user’s username does not match a set of given string(s). It is the negated version of if_user.