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.
More on Rapid-Fire Commands
How do you see which hosts a playbook would run against, without running it?BeginnerHow do you list the tasks and tags a playbook contains?BeginnerHow do you inspect the inventory structure and a host's variables?BeginnerHow do you restart a service on a group with an ad-hoc command?BeginnerHow do you resume a playbook from a specific task or step through it?BeginnerHow do you re-run a playbook only on the hosts that failed?Intermediate