mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
70837469c6
In playbooks, hosts can be a YAML list. We templated the list before converting it to a semicolon-separated string, which actually templated its repr. This converts to a string first. A basic unit test is included.
5 lines
120 B
YAML
5 lines
120 B
YAML
# Test that playbooks support YAML lists of hosts.
|
|
---
|
|
- hosts: [host1, host2, host3]
|
|
tasks:
|
|
- action: command true
|