file_symlink_present_option
Create a symlink at a destination path and pointing to a source target. This is also possible to enforce its creation.
⚙️ Compatible targets: Linux
Parameters
Name | Documentation |
---|---|
source | Source file (absolute path on the target node). This parameter is required. |
path | Destination file (absolute path on the target node). This parameter is required. |
enforce | Force symlink if file already exist (true or false). This parameter is required. |
Example
method: file_symlink_present_option
params:
source: VALUE
enforce: VALUE
path: VALUE