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 10, 2018
1 parent f0ac5a8 commit 382a95f
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 382a95f

Please sign in to comment.