Created
June 15, 2017 15:03
-
-
Save morungos/064e0e52e13535f62d56206a036a7c51 to your computer and use it in GitHub Desktop.
Ansible plays to build a table of pushed deployments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: "Local action: Mark the deployment" | |
local_action: shell echo '|' `git log -n1 | grep -E "^commit"` '|' {{inventory_hostname}} '|' `date` '|' `whoami` '|' >> deploy.md | |
run_once: yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment