05f5734053
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
|