Closed mdavis-xyz closed 1 year ago
@mdavis-xyz Thank you for raising this issue. I prepared a PR (https://github.com/ansible-collections/amazon.aws/pull/1586) that attempts to provide a more exhaustive explanation for the use_ssm_inventory
option. Can you please have a look and let me know if it clarifies your concerns?
Yes thanks. That's more clear now.
Summary
I'm trying to combine both the ec2 inventory plugin, and the SSM connector plugin. I'm really struggling to figure out how to do this, because of several documentation issues. But I'll just mention one here.
In the inventory plugin, there's an option called "use_ssm_inventory". The description is very brief. "Add SSM inventory information into hostvars.". I assumed this means that if I set it to True, then the SSM plugin will just work. But this doesn't seem to be the case.
Looking at the boto3 docs, I see that SSM also uses the term "inventory", which may have a different meaning to Ansible inventory. The documentation should be updated to explain what the word "inventory" means in the context of this specific argument.
Issue Type
Documentation Report
Component Name
aws_ec2 inventory
Ansible Version
Collection Versions
Configuration
OS / Environment
Mac
Additional Information
No response
Code of Conduct