tests: Pythonize print_env.sh.

issue510
David Wilson 6 years ago
parent 8f1f3de123
commit fccf424140

@ -9,6 +9,6 @@
hosts: test-targets hosts: test-targets
tasks: tasks:
- script: scripts/print_env.sh - script: scripts/print_env.py
register: env register: env
- debug: msg={{env}} - debug: msg={{env}}

@ -0,0 +1,6 @@
#!/usr/bin/env python
import os
import pprint
pprint.pprint(dict(os.environ))
Loading…
Cancel
Save