mitogen/tests/ansible/integration/playbook__environment.yml

14 lines
246 B
YAML
Raw Normal View History

2018-02-27 19:57:37 +00:00
# Ensure environment: is preserved during call.
- hosts: all
tasks:
- shell: echo $SOME_ENV
environment:
SOME_ENV: 123
register: result
- debug: msg={{result}}
- assert:
that: "result.stdout == '123'"