Skip to content

Commit

Permalink
issue #122: helper to print environment
Browse files Browse the repository at this point in the history
  • Loading branch information
dw committed Mar 19, 2018
1 parent 7d12154 commit f8738f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/playbook/issue_122.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

- hosts: all
tasks:
- script: scripts/print_env.sh
register: env
- debug: msg={{env}}
2 changes: 2 additions & 0 deletions examples/playbook/scripts/print_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
set

0 comments on commit f8738f1

Please sign in to comment.