mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Quote long variables in playbooks when feeding them to the setup command
This commit is contained in:
@@ -117,3 +117,7 @@ class TestRunner(unittest.TestCase):
|
||||
print utils.bigjson(actual)
|
||||
assert cmp(expected, actual) == 0, "expected events match actual events"
|
||||
|
||||
# make sure the template module took options from the vars section
|
||||
data = file('/tmp/ansible_test_data_template.out').read()
|
||||
assert data.find("ears") != -1, "template success"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
---
|
||||
- hosts: all
|
||||
vars:
|
||||
answer: "???"
|
||||
answer: "Wuh, I think so, Brain, but if we didn't have ears, we'd look like weasels."
|
||||
port: 5150
|
||||
|
||||
tasks:
|
||||
|
||||
Reference in New Issue
Block a user