diff --git a/examples/playbook/issue_122.yml b/examples/playbook/issue_122.yml new file mode 100644 index 000000000..4bba6ad6c --- /dev/null +++ b/examples/playbook/issue_122.yml @@ -0,0 +1,6 @@ + +- hosts: all + tasks: + - script: scripts/print_env.sh + register: env + - debug: msg={{env}} diff --git a/examples/playbook/scripts/print_env.sh b/examples/playbook/scripts/print_env.sh new file mode 100644 index 000000000..c03c99367 --- /dev/null +++ b/examples/playbook/scripts/print_env.sh @@ -0,0 +1,2 @@ +#!/bin/bash +set