0 votes
in Ansible by
How can you use the Ansible module “file” to create a symbolic link on a target machine?

a) By using the “link” parameter to specify the link name and the “path” parameter to specify the path to the file

b) By using the “symlink” parameter to specify the link name and the “file” parameter to specify the path to the file

c) By using the “name” parameter to specify the link name and the “src” parameter to specify the path to the file

d) By using the “link_name” parameter to specify the link name and the “file_path” parameter to specify the path to the file

1 Answer

0 votes
by

Answer: c) By using the “name” parameter to specify the link name and the “src” parameter to specify the path to the file

Explanation: The Ansible module “file” can be used to create a symbolic link on a target machine by using the “name” parameter to specify the link name and the “src” parameter to specify the path to the file.

...