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
Using import_playbook: causes There was an error during execution: 'hosts'. I suspect it's looking for a hosts: on - import_playbook:. I suggest either printing an error that it isn't supported or adding support for it. I'll work around it by turning the playbook into a role or tasks file.
Thanks for the excellent bug report. You're correct that bender looks for the hosts key in a playbook. But it's interesting that it's doing such a thing when importing a playbook.
Using
import_playbook:
causesThere was an error during execution: 'hosts'
. I suspect it's looking for ahosts:
on- import_playbook:
. I suggest either printing an error that it isn't supported or adding support for it. I'll work around it by turning the playbook into a role or tasks file.build_test.yml:
test.yml:
Running ansible-bender:
Environment:
import_tasks
does work. test_build2.yml:test2.yml:
Thanks
The text was updated successfully, but these errors were encountered: