You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just an FYI, here's what I have re inventory. In case I misunderstood what you said - when you have dynamic inventory you still have an inventory file but it configures your use of the dynamic inventory plugin instead of defining inventory.
Just as a specific example (this is what I've been doing my recent testing with...)
The default inventory file is defined in the defaults section and I load the aws dynamic inventory plugin in the inventory block.
Then my inventory.aws_ec2.yml (the naming format is prescribed by the plugin), I use the plugin:
plugin: amazon.aws.aws_ec2
followed by the yaml configuration for the plugin to collect and organise my inventory.
So I have a default inventory file set AND I am using an inventory plugin. I can, at the command line, omit the --inventory parameter from ansible commands.
Versions
latest
Scope
Backend (API)
Issue
In case of dynamic inventories or if inventory was configured in ansible.cfg
The text was updated successfully, but these errors were encountered: