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
Previously, ansible-lint would invoke ansible-playbook with the option -i localhost, but after #4393 the trailing comma is gone. This makes ansible-playbook look for a file named localhost instead of treating localhost as a hostname.
Issue Type
Bug Report
The text was updated successfully, but these errors were encountered:
The --inventory option to the ansible-playbook executable can accept a
value that is comma-separated. This comma-separated value is presumed to
be a host list and not a list of inventory files. This was the behavior
for the inventory_files variable before 4d295e8. There wasn't a reason
for its removal and it was an oversight made.
cavcrosby
added a commit
to cavcrosby/ansible-lint
that referenced
this issue
Dec 12, 2024
The --inventory option to the ansible-playbook executable can accept a
value that is comma-separated. This comma-separated value is presumed to
be a host list and not a list of inventory files. This was the behavior
for the inventory_files variable before 6fbb12e. There wasn't a reason
for its removal and it was an oversight made.
Summary
Previously,
ansible-lint
would invokeansible-playbook
with the option-i localhost,
but after #4393 the trailing comma is gone. This makesansible-playbook
look for a file namedlocalhost
instead of treatinglocalhost
as a hostname.Issue Type
The text was updated successfully, but these errors were encountered: