I wrote a easy playbook to been called when devops do a git push with webhook.
if Devs do a git push , webhook will notify my ansible server to run a script which run anisble-playbook myplaybook -i inventory_name -vvv | tee -a /tmp/myplaybook_result.log
but the log file only contain the anisble result , not the git pull messages .
and I see no log in git module of ansible.
so , is there anyway to get the git pull messages from remote machine to ansible server ? or just save the log somewhere in remote machine ?