unable to parse /etc/ansible/hosts as an inventory source
MarkJamesHub opened this issue · comments
Mark James commented
Folder Structure...
- //Product1
- /group_vars
- /inventory/hosts
- /roles
- create1.yml
- //Product2
- /group_vars
- /inventory/hosts
- /roles
- create2.yml
When linting the create_.yml files it does not seem to recognise my folder structure and defaults to my local host file system i.e. /etc/ansible/hosts as an inventory source
Is there a way to make linter understand my Folder Structure (I have literally dozens of Product folders)
Matthew Schuchard commented
I believe this is something that is set in an ansible config local to the playbook. If you execute ansible-lint
via the CLI on the create?.yml
, do you have the same issue?
Matthew Schuchard commented
No updates in a year; closing.