fix authorship in the commit
Thanks Romain for the debugging clues!
This commit is contained in:
parent
243fccc159
commit
cab89b11ac
|
@ -11,7 +11,7 @@
|
||||||
- commit-etc
|
- commit-etc
|
||||||
|
|
||||||
- name: /etc modifications are committed
|
- 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:
|
args:
|
||||||
chdir: /etc
|
chdir: /etc
|
||||||
register: etc_commit_end_evolinux
|
register: etc_commit_end_evolinux
|
||||||
|
|
Loading…
Reference in a new issue