mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Preliminary ability to use Jinja2 {{ }} to replace ${foo.bar} in playbooks. Can't use both at the same time per line.
This commit is contained in:
@@ -135,6 +135,7 @@ class TestPlaybook(unittest.TestCase):
|
||||
runner_callbacks = self.test_callbacks
|
||||
)
|
||||
result = self.playbook.run()
|
||||
print EVENTS
|
||||
return result
|
||||
|
||||
def test_one(self):
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
action: command true
|
||||
|
||||
- name: test basic shell, plus two ways to dereference a variable
|
||||
action: shell echo $HOME $port {{ port }}
|
||||
action: shell echo $HOME $port
|
||||
|
||||
- name: test vars_files imports
|
||||
action: shell echo $duck $cow $testing
|
||||
|
||||
Reference in New Issue
Block a user