mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 06:30:19 -07:00
Make parameterized playbook includes work with vars as a list
Fixes #1610.
This commit is contained in:
parent
5752d2a850
commit
eebbbd3f0e
3 changed files with 12 additions and 2 deletions
|
@ -217,7 +217,7 @@ class TestPlaybook(unittest.TestCase):
|
|||
"localhost": {
|
||||
"changed": 0,
|
||||
"failures": 0,
|
||||
"ok": 5,
|
||||
"ok": 10,
|
||||
"skipped": 0,
|
||||
"unreachable": 0
|
||||
}
|
||||
|
|
|
@ -3,3 +3,10 @@
|
|||
gather_facts: False
|
||||
tasks:
|
||||
- action: debug msg="$variable"
|
||||
|
||||
- hosts: all
|
||||
vars:
|
||||
- ugly: var
|
||||
gather_facts: False
|
||||
tasks:
|
||||
- action: debug msg="$variable"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue