fix authorship in the commit
Thanks Romain for the debugging clues!
This commit is contained in:
parent
243fccc159
commit
cab89b11ac
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue