Commit graph

11 commits

Author SHA1 Message Date
Ludovic Poujol 0f8804a8ab etc-git: commit in /usr/share/scripts when there's an active repository
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-08 16:07:49 +02:00
Jérémy Lecour e7952dc3c8 etc-git: fix warnings ansible-lint
All checks were successful
continuous-integration/drone/push Build is passing
2020-01-08 17:19:36 +01:00
Jérémy Lecour 98486fd771 etc-git: add tags for Ansible 2018-03-16 14:21:01 +01:00
Romain Dessort b92d697db1 Make commit tasks work on squeeze
On squeeze machines, the task fetching the user.email variable fails and
therefore git_config_user_email.config_value ansible variable is
undefined in the next task. I added a condition to handle this case.
2018-03-15 11:23:38 -04:00
Jérémy Lecour 9f9894344d etc-git: scope=local is not always supported
git version 1.7.2.5 (Debian 7) doesn't have "--local" scope
2017-09-29 12:01:06 +02:00
Gregory Colpart b5b46e707c Quick fix to avoid failure when you are in root without su/sudo 2017-09-29 01:42:38 +02:00
Jérémy Lecour 3207d837cb etc-git: better commit author composition 2017-09-15 16:03:49 +02:00
Gregory Colpart b02e49073a don't crash when use in root (no SUDO_USER) 2017-08-29 00:01:26 +02:00
Romain Dessort 48b4238a88 Make git commit task not to fail if user.email is undefined 2017-08-14 17:07:58 -04:00
Jérémy Lecour d033d9773a etc-git: if sudo is used, the real user is the author 2017-07-27 16:49:14 -04:00
Jérémy Lecour 08ee315148 etc-git: add a task to commit
It can be invoked in pre/post tasks or anywhere in anther role.
2017-04-25 10:10:17 +02:00