fix authorship in the commit

Thanks Romain for the debugging clues!
This commit is contained in:
Daniel Jakots 2017-07-19 11:12:55 -04:00
parent 243fccc159
commit cab89b11ac
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
- commit-etc
- name: /etc modifications are committed
shell: "git add -A . && git commit -m \"{{ commit_message | default('Ansible run') }}\""
shell: "git add -A . && git commit -m \"{{ commit_message | default('Ansible run') }}\" --author=\"{{ ansible_env.SUDO_USER | default('Root') }} <{{ ansible_env.SUDO_USER | default('Root') }}@evolix.net>\""
args:
chdir: /etc
register: etc_commit_end_evolinux