mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-20 11:50:22 -07:00
Reading the docs, I was a bit confused as to how to specify multiple hosts/groups in a playbook. Being YAML, I assumed a normal YAML list would work: --- - hosts: [host1, host2] But this crashes when inventory._matches() assumes hosts is a string. This patch just checks if hosts is a list, and turns it into a string joined by ';'. |
||
---|---|---|
.. | ||
__init__.py | ||
callbacks.py | ||
connection.py | ||
constants.py | ||
errors.py | ||
inventory.py | ||
playbook.py | ||
runner.py | ||
utils.py |