0 votes
in Ansible by

How can you use the Ansible module “copy” to copy a file from the control machine to a target machine?

a) By using the “src” parameter to specify the source file and the “dest” parameter to specify the destination file

b) By using the “file” parameter to specify the source file and the “to” parameter to specify the destination file

c) By using the “from” parameter to specify the source file and the “to” parameter to specify the destination file

d) By using the “source” parameter to specify the source file and the “destination” parameter to specify the destination file

1 Answer

0 votes
by
Answer: a) By using the “src” parameter to specify the source file and the “dest” parameter to specify the destination file

Explanation: The Ansible module “copy” can be used to copy a file from the control machine to a target machine by using the “src” parameter to specify the source file and the “dest” parameter to specify the destination file.
...