Interview Prep/Ansible/Rapid-Fire Commands

How do you list installed collections and check them for tampering?

BeginnerProductionRapid-Fire Commands
Answer
ansible-galaxy collection list
ansible-galaxy collection list amazon.aws
ansible-galaxy collection verify amazon.aws

verify compares installed files with the checksums from the server. list shows every path where a collection exists, which explains why an unexpected version gets loaded.

All Ansible questions Roadmap: Ansible

More on Rapid-Fire Commands