Global Placeholders
In the global-placeholders.yml
file, you can define values that will be available across all inventory configuration files.
This helps streamline your configurations by centralizing common placeholders.
Global Placeholders
You can define any value for the placeholders. If you define a list, the placeholder must be used within a list.
Example:
Modifications
upper
upper
%upper_<placeholder name>%
transforms your text to uppercase.
lower
lower
%lower_<placeholder name>%
transforms your text to lowercase.
capitalize
capitalize
%capitalize_<placeholder name>%
capitalizes your text (the first letter will be uppercase, and the rest lowercase).
add_one
add_one
%add_one_<placeholder name>%
adds 1 to your placeholder. This only works if the value is a number.
remove_one
remove_one
%remove_one_<placeholder name>%
subtracts 1 from your placeholder. This only works if the value is a number.
Last updated