Quiz on Taking Inventory of the Infrastructure

Test your understanding of how Ansible manages infrastructure using inventories, groups, and the vault.

Test yourself on infrastructure management in Ansible using inventories, groups, and the vault.

1

What Ansible command gives you a list of hostnames and the variables assigned to them?

A)

ansible-inventory list

B)

ansible-inventory -i hosts --list

C)

ansible-inventory -i hosts

D)

ansible-inventory -i hosts -a

Question 1 of 50 attempted

Get hands-on with 1000+ tech skills courses.