0 votes
in Ansible by
How can you use the Ansible module “yum” to update all packages on a Red Hat-based target machine?

a) By using the “name” parameter to specify “” and the “state” parameter to specify “latest”

b) By using the “package” parameter to specify “” and the “state” parameter to specify “latest”

c) By using the “packages” parameter to specify “” and the “state” parameter to specify “latest”

d) By using the “update” parameter to specify “” and the “status” parameter to specify “latest”

1 Answer

0 votes
by

Answer: c) By using the “packages” parameter to specify “” and the “state” parameter to specify “latest”

Explanation: The Ansible module “yum” can be used to update all packages on a Red Hat-based target machine by using the “packages” parameter to specify “” and the “state” parameter to specify “latest”.

...