What is the suggested approach to allow multiple inventories when calling molecule create/destroy? · ansible molecule · Discussion #4324 · GitHub
More Web Proxy on the site http://driver.im/
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
It seems that when running molecule create/destroy, there isn't a way to provide location for multiple inventory paths. In the code, https://github.com/ansible/molecule/blob/main/src/molecule/provisioner/ansible.py#L553 I noticed that this is purposely set to default configurations only, but in the case where I want to allow --inventory=${some_path}, create/destroy doesn't seem to respect that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that when running molecule create/destroy, there isn't a way to provide location for multiple inventory paths. In the code, https://github.com/ansible/molecule/blob/main/src/molecule/provisioner/ansible.py#L553 I noticed that this is purposely set to default configurations only, but in the case where I want to allow --inventory=${some_path}, create/destroy doesn't seem to respect that.
Beta Was this translation helpful? Give feedback.
All reactions